您现在的位置是:貌合心离网 > 热点
云计算核心技术Docker教程:部署注册服务器
貌合心离网2026-11-14【热点】{固定数字1}人已围观
简介谷歌快排系统官网【tg:seogoogle987】
在部署注册表之前,您需要在主机上安装 Docker。注册表是registry镜像的一个实例,在 Docker 中运行。
本主题提供有关部署和配置注册表的云计基本信息。
运行本地注册表
使用如下命令启动注册表容器:
$ docker run -d -p 5000:5000 --restart=always --name regist算核ry registry:2
注册表现在可以使用了。
将镜像从 Docker Hub 复制到您的注册表
您可以从 Docker Hub 中拉取镜像并将其推送到您的注册表。以下心技示例ubuntu:16.04从 Docker Hub 中提取映像并将其重新标记为my-ubuntu,然后将其推送到本地注册表。最后,在 本地删除和镜像,并 u术Dbuntu:16.04从本地注册表中拉取镜像。my-ubuntumy-ubuntu
1.ubuntu:16.04从 Docker Hub拉取镜像。
$ dockeocr pull ubuntu:16.04
2.将图像标记为localhost:5000/my-ubuntu. 这会为现有图像创建一个附加标签。当标签的第一部分是主机ke名和端口时,Docker 在推送时将其解释为注册表的位置。
$ docker tag ubuntu:16.04 localhost:5000/my-ubuntu
3.r教将映像推送到运行在以下位置的本地注册表localhost:5000:
$ docker push localhost:5000/my-ubuntu
4.删除本地缓存程:ubuntu:16.04和localhost:5000/my-ubuntu 图像,以便您可以测试从注册表中提取图像。这不会localhost:500部署0/my-ubuntu从您的注册表中删除图像。
$ docker image remove ubuntu:16.04
$ docker image remove lo注册calhost:5000/my-ubuntu
5.localhost:5000/my-ubuntu从本地注册表中提取图像。
$ docker pull loca服务lhost:5000/my-ubuntu
停止本地注册表
要停止注册表,请使用docker container stop与任何其他容器相同的命令。
$ do云计cker container stop registry
要移除容器,请使用docker container rm.
$ docker container stop算核 registry && docker container rm -v registry
很赞哦!(47030778)
相关文章
站长推荐
友情链接
- 标签: 康师傅
- https://www.synonyms.com/antonyms/谷歌快排系统官网【tg:seogoogle987】,yln
- https://www.flickr.com/photos/tags/谷歌快排系统官网【tg:seogoogle987】9eT
- https://www.swecobelgium.be/?page=9&s=谷歌快排系统官网【tg:seogoogle987】,QB6
- https://yscc1986.net/search/谷歌快排系统官网【tg:seogoogle987】QKW
- https://www.trockenmittel.ch/catalogsearch/result/?iC=ZM3&q=谷歌快排系统官网【tg:seogoogle987】,NaG
- https://www.ntv.co.jp/3min/search/?action=QUERY&q=谷歌快排系统官网【tg:seogoogle987】,aFo
- https://www.teamlab.art/es/?submit=谷歌快排系统官网【tg:seogoogle987】,19h
- https://www.normani.de/search?q=谷歌快排系统官网【tg:seogoogle987】,hHG
- https://www.sdcard.org/ja/?s=谷歌快排系统官网【tg:seogoogle987】,uU6
- https://www.repetto.jp/item/search?action=QUERY&q=谷歌快排系统官网【tg:seogoogle987】,8pK
- https://yokohama-oht.com/?action=CHECK&s=谷歌快排系统官网【tg:seogoogle987】,wE9
- https://www.remit.co.jp/vi/?s=谷歌快排系统官网【tg:seogoogle987】cH2
- https://www.paxnet.co.kr/search/jongmok?kwd=谷歌快排系统官网【tg:seogoogle987】icd
- https://www.metalmensales.com/?action=QUERY&s=谷歌快排系统官网【tg:seogoogle987】,jjw
- https://www.lneg.pt/?cat=140&s=谷歌快排系统官网【tg:seogoogle987】,mJy
- https://store.line.me/search/sticker/ja?q=谷歌快排系统官网【tg:seogoogle987】ZEM
- https://www.localfootdoc.com/?s=谷歌快排系统官网【tg:seogoogle987】,OCE
- https://www.roblox.com/discover/?cat=107&Keyword=谷歌快排系统官网【tg:seogoogle987】,S1a
- https://www.kaskus.co.id/search?q=谷歌快排系统官网【tg:seogoogle987】,V4o
- https://www.unclefossil.com/search/谷歌快排系统官网【tg:seogoogle987】gad_source=1&gclid=Cj0KCQjw_-GxBhC1ARIsADGgDjsNKplUXa2F6YGlHBK2sHDQ88cgsJBb05DyO99TV9jNq_cT0kGMqyQaAgHQEALw_wcB
- https://www.soccerbible.com/search?q=谷歌快排系统官网【tg:seogoogle987】,Qhl
- https://www.routesonline.com/search/?query=谷歌快排系统官网【tg:seogoogle987】,04m
- https://5gaa.org/?token=6e2l7hjt2i26gzgctgwdrv7v0j6nxorq&s=谷歌快排系统官网【tg:seogoogle987】wZ7
- https://www.yidian51.com/taobao/谷歌快排系统官网【tg:seogoogle987】,Vp4
- https://xehay.vn/tim-kiem/=谷歌快排系统官网【tg:seogoogle987】,QiJ
- https://www.ushmm.org/search/results/?ID=8s0587Oi8UTv74zPPM4fuhwjNpe2hsEE&q=谷歌快排系统官网【tg:seogoogle987】,uOd
- https://www.wou.edu.my/?s=谷歌快排系统官网【tg:seogoogle987】,Pzh
- https://www.kawainter.com/catalogsearch/result/?q=谷歌快排系统官网【tg:seogoogle987】,V9t
- https://www.qylaws.com/search/谷歌快排系统官网【tg:seogoogle987】,vgx
- https://www.totolink.vn/search/谷歌快排系统官网【tg:seogoogle987】,rSA
- https://www.nyif.com/catalogsearch/result/?q=谷歌快排系统官网【tg:seogoogle987】,LqQ
- https://www.randjleather.co.uk/index.php?route=product/search&tag=谷歌快排系统官网【tg:seogoogle987】,5qA
- https://www.mingwai.edu.hk/?langzh-hant&s=谷歌快排系统官网【tg:seogoogle987】,sk8
- https://www.ushmm.org/search/results.php?q=谷歌快排系统官网【tg:seogoogle987】,A9M
- https://www.openspaceinstitute.org/search?q=谷歌快排系统官网【tg:seogoogle987】,dXz
- https://www.maine.gov/pfr/professionallicensing/search/node?keys=谷歌快排系统官网【tg:seogoogle987】,WnL
- https://www.nbm.org/?action=QUERY&s=谷歌快排系统官网【tg:seogoogle987】,o2u
- https://www.remit.co.jp/pt/?action=CHECK&s=谷歌快排系统官网【tg:seogoogle987】,QGa
- https://www.roberthalf.com/us/en/jobs/all/谷歌快排系统官网【tg:seogoogle987】hcJ
- https://www.nslcleaders.org/?s=谷歌快排系统官网【tg:seogoogle987】,Ij2
- https://www.lauben.com/en/?action=SEARCH&s=谷歌快排系统官网【tg:seogoogle987】,hR0
- https://www.safetv.go.kr/base/search/view?searchWord=谷歌快排系统官网【tg:seogoogle987】OJs
- https://www.teamlab.art/zh-hans/?submit=谷歌快排系统官网【tg:seogoogle987】,iAo
- https://www.maigoo.com/search/?block=&q=谷歌快排系统官网【tg:seogoogle987】,gDw
- https://www.livehindustan.com/tags/谷歌快排系统官网【tg:seogoogle987】,WM7
- https://www.libros.unam.mx/catalogsearch/result/?cat=37&dir=asc&format=20&lit=20&manufacturer=3230&mode=list&order=year_edition&q=谷歌快排系统官网【tg:seogoogle987】,5MQ
- https://www.teamlab.art/th/?submit=谷歌快排系统官网【tg:seogoogle987】,cJh
- https://www.l-and-b.jp/?page=1&s=谷歌快排系统官网【tg:seogoogle987】,IMb
- https://www.military-history.org/?s=谷歌快排系统官网【tg:seogoogle987】,hJG
- https://www.abbreviations.com/谷歌快排系统官网【tg:seogoogle987】1Wl







