您现在的位置是:热点 >>正文
云计算核心技术Docker教程:注册服务器基本配置
热点1676639人已围观
简介...
要配置容器,您可以将附加或修改的选项传递给 docker run命令。
以下部分提供了云计配置注册表的基本准则。
自动启动注册表
如果要将注册表用作永久基础架构的一部分,则应将算核其设置为在 Docker 重新启动或退出时自动重新启动。此示例使用该--restart al心技ways标志为注册表设置重新启动策略。
$ docker run -d \
-p 5000:500术D0 \
--restart=always \
--name registry \
registry:2
自oc定义发布的端口
如果您已经在使用端口 5000,或者您想要运行多个本地注册表来分隔关ke注区域,您可以自定义注册表的端口设置。此示例在端口 5001 上运行注册表并将其命名为r教 registry-test。请记住,-p值的第一部分是主机端口,第二部分是容器内的端程:口。在容器内,注册表5000默认侦听端口。
$ docker run -d \
-p 5001:注册5000 \
--name registry-test \
registry:2
如果要更改容器内注册服务表监听的端口,可以使用环境变量REGISTRY_HTTP_ADDR来更改它。此命令使注器基册表在容器内的端口 5001 上进行侦听:
$ docker run -d \
-e REGIST本配RY_HTTP_ADDR=0.0.0.0:5001 \
-p 5001:5001 \
--云计name registry-test \
registry:2
Tags:
相关文章
人工智能技术在抗击新冠肺炎疫情中大显身手
热点作为一门高新技术,人工智能(AI)在医疗健康领域,尤其在抗击新冠肺炎(COVID-19)疫情中身手不凡,发挥着非常重要的作用。正如我国著名学者周海中教授曾经指出的那样:随着社会的发展和科技的进步,人工...
【热点】
阅读更多标签: 豪车市场
热点撰文 | 张 宇 编辑 | 杨博丞 题图 | 豆包AI 2025年是中国豪车市场风云突变的一年。 在此前相当长的一段时期内,外资豪车品牌不仅是中国豪华车市场的启蒙者,更是价值标准与规则的制定者,尤其是...
【热点】
阅读更多云安全日报210824:红帽音频处理库发现任意代码执行漏洞,需要尽快升级
热点libsndfile是由Erik de Castro Lopo写的的广泛用于读写音频文件的C语言库。它支持的音频格式十分广泛并且能够自动的从一种格式到另外一种格式。8月24日,RedHat发布了安全更...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.resilienz-akademie.com/?cat=71&s=谷歌快排操作流程【tg:seogoogle987】,g97
- https://www.impactpool.org/search/?type=79&q=谷歌快排操作流程【tg:seogoogle987】Peh
- https://www.openstreetmap.org/search?query=谷歌快排操作流程【tg:seogoogle987】,qEZ
- https://www.otakuninjahero.com/en/search/谷歌快排操作流程【tg:seogoogle987】,Zqn
- https://www.ncetm.org.uk/search?action=CHECK&q=谷歌快排操作流程【tg:seogoogle987】,4KC
- https://www.dba.dk/soeg/?soeg=谷歌快排操作流程【tg:seogoogle987】YWR
- https://www.ons.gov.uk/search?q=谷歌快排操作流程【tg:seogoogle987】,k6o
- https://hsmoa.com/search?query=谷歌快排操作流程【tg:seogoogle987】aXD
- https://www.losgatoschamber.com/list/search?action=SEARCH&q=谷歌快排操作流程【tg:seogoogle987】,TTr
- https://www.thealexandrian.net/?s=谷歌快排操作流程【tg:seogoogle987】,4hA
- https://www.teamlab.art/es/?submit=谷歌快排操作流程【tg:seogoogle987】,Hf3
- https://www.terramania.nl/catalogsearch/result/index/?q=谷歌快排操作流程【tg:seogoogle987】,BKo
- https://www.safetv.go.kr/base/search/view?searchWord=谷歌快排操作流程【tg:seogoogle987】tCO
- https://www.seagrant.wisc.edu/?page=63&s=谷歌快排操作流程【tg:seogoogle987】,sYQ
- https://www.rostaing.com/catalogsearch/result/?cat=22&q=谷歌快排操作流程【tg:seogoogle987】,zZc
- https://www.wheels24.gr/?action=CHECK&s=谷歌快排操作流程【tg:seogoogle987】,gYy
- https://www.target.com/s?searchTerm=谷歌快排操作流程【tg:seogoogle987】,g6D
- https://www.luxurysociety.com/en/search?q=谷歌快排操作流程【tg:seogoogle987】,jCQ
- https://www.sebson.de/en/search?query=谷歌快排操作流程【tg:seogoogle987】,hxZ
- https://www.smarty.net/search?q=谷歌快排操作流程【tg:seogoogle987】,NHH
- https://store.line.me/search/sticker/ja?q=谷歌快排操作流程【tg:seogoogle987】oUS
- https://www.miamiopenmri.com/?action=CHECK&s=谷歌快排操作流程【tg:seogoogle987】,S1f
- https://nicolazzi.it/en/?s=谷歌快排操作流程【tg:seogoogle987】,5A4
- https://www.swecobelgium.be/?page=9&s=谷歌快排操作流程【tg:seogoogle987】,cTL
- https://www.vocabulary.com/dictionary/谷歌快排操作流程【tg:seogoogle987】,9Gb
- https://www.military-history.org/?s=谷歌快排操作流程【tg:seogoogle987】,TYi
- https://www.l-and-b.jp/?page=1&s=谷歌快排操作流程【tg:seogoogle987】,nM1
- https://www.teamlab.art/?submit=谷歌快排操作流程【tg:seogoogle987】,JM7
- https://www.wuv.edu/?s=谷歌快排操作流程【tg:seogoogle987】,gtU
- https://www.sbaad.no/search/谷歌快排操作流程【tg:seogoogle987】,1Hp
- https://www.sic-info.org/en/?s=谷歌快排操作流程【tg:seogoogle987】,G0A
- https://www.kuaikanmanhua.com/sou/谷歌快排操作流程【tg:seogoogle987】,13f
- https://www.lee.com/search?q=谷歌快排操作流程【tg:seogoogle987】,0TC
- https://www.nctsn.org/search?cat=191&query=谷歌快排操作流程【tg:seogoogle987】,vJl
- https://www.navymwr.org/search/?query=谷歌快排操作流程【tg:seogoogle987】,KkJ
- https://www.pearson.com/en-us/search.html?aq=谷歌快排操作流程【tg:seogoogle987】,WT5
- https://www.remit.co.jp/id/?s=谷歌快排操作流程【tg:seogoogle987】,unH
- https://www.qidulp.com/search?query=谷歌快排操作流程【tg:seogoogle987】,d6P
- https://www.seforall.org/search?keywords=谷歌快排操作流程【tg:seogoogle987】,nqE
- https://www.varian.com/en-au/search?cat=113&search=谷歌快排操作流程【tg:seogoogle987】,168
- https://www.sweat.com/collections/vendors?q=谷歌快排操作流程【tg:seogoogle987】,HWA
- https://www.remit.co.jp/pt/?action=CHECK&s=谷歌快排操作流程【tg:seogoogle987】,rnd
- https://www.wattpad.com/search/谷歌快排操作流程【tg:seogoogle987】1RG
- https://www.world-architects.com/en/search?term=谷歌快排操作流程【tg:seogoogle987】,1OK
- https://www.remit.co.jp/zh/?s=谷歌快排操作流程【tg:seogoogle987】,1bb
- https://www.maine.gov/pfr/professionallicensing/search/node?keys=谷歌快排操作流程【tg:seogoogle987】,iph
- https://www.lenovo.com/gb/en/search?action=SEARCH&text=谷歌快排操作流程【tg:seogoogle987】,8na
- https://www.kissthekangaroo.com.au/index.php?route=product/search&tag=谷歌快排操作流程【tg:seogoogle987】,Oed
- https://www.simcoemuskokahealth.org/SearchResults.aspx?SearchQuery=谷歌快排操作流程【tg:seogoogle987】,L4n
- https://www.tumblr.com/tagged/谷歌快排操作流程【tg:seogoogle987】,ELk