您现在的位置是:热点 >>正文
云计算核心技术Docker教程:注册服务器配置注册表
热点27887人已围观
简介...
注册表配置基于 YAML 文件,详情如下。虽然它带有开箱即用的合理默认值,但您应该在将系统投云计入生产之前对其进行详尽的审查。
覆盖特定的配置选项
在从官方映像运行注册表的典型设置中,您可以通过算核将-e参数传递给您的节或使用 指令docker run从 Dockerfile 中从环境中指定配置变心技量。ENV
要覆盖配置选项,请创建一个名为 REGISTRY_variablewherevari术Dable是配置选项名称的环境变量, _(下划线)表示缩进级别。例如,您可以配置rootdirecoctory存储filesystem后端:
storage:
filesystem:
rootdirecketory: /var/lib/registry
要覆盖此值,请设置如下环境变量:
REGISTRY_STr教ORAGE_FILESYSTEM_ROOTDIRECTORY=/somewhere
此变量会覆盖目程:录的/var/lib/registry值/somewhere 。
覆盖整个配置文件
如果默认配置不是注册您使用的合理基础,或者如果您在从环境中覆盖密钥时遇到问题,您可以通过将其安装为容器中的卷来指定备服务用 YAML 配置文件。
通常,从头开始创建一个名为 的新配置文件config.yml,然后在docke器配r run命令中指定它:
$ docker run -d -p 5000:5000 --restart=alwa置注ys --name registry \
-v `pwd`/config.yml:/etc/dock册表er/registry/config.yml \
registry:2
Tags:
相关文章
云安全日报220707:思科Expressway系列和网真视频通信服务器发现远程攻击漏洞,需要尽快升级
热点7月7日,思科发布了安全更新,修复了思科Expressway系列和网真视频通信服务器发现的远程攻击漏洞。以下是漏洞详情: 漏洞详情 来源:https://tools.cisco.com/securit...
【热点】
阅读更多云安全日报220630:IBM数据保护平台发现执行任意代码漏洞,需要尽快升级
热点IBM Spectrum Protect Plus是美国IBM公司的一套数据保护平台。该平台为企业提供单一控制和管理点,并支持对所有规模的虚拟、物理和云环境进行备份和恢复。 6月29日,IBM发布了紧...
【热点】
阅读更多2021年将会成为主流的四个云计算技术
热点尽管人们已经熟悉了云计算技术在IT公司中的重要性,但今年可能会出现新的市场需求。 我们生活在一个瞬息万变的世界中。市场的确需要创新,并带来业务范式的新变化,这就是为什么冠状病毒疫情是2020年颠覆性发...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.zutari.com/?s=谷歌霸屏技术【tg:seogoogle987】,FX1
- https://www.military-history.org/?s=谷歌霸屏技术【tg:seogoogle987】,aXr
- https://www.tullygroup.us/?ID=hbkq8jFjrQlVRrwzEmvoUJJAY4e1Lfo5&s=谷歌霸屏技术【tg:seogoogle987】,74q
- https://www.synonyms.com/antonyms/谷歌霸屏技术【tg:seogoogle987】,Vv8
- https://www.nextavenue.org/?action=QUERY&s=谷歌霸屏技术【tg:seogoogle987】,Bgp
- https://www.temu.com/search_result.html?search_key=谷歌霸屏技术【tg:seogoogle987】7NR
- https://www.mintos.org/?s=谷歌霸屏技术【tg:seogoogle987】,iRt
- https://www.searcychamber.com/list/search?AsfnA=DtkTQzs&q=谷歌霸屏技术【tg:seogoogle987】,On4
- https://www.normani.de/search?q=谷歌霸屏技术【tg:seogoogle987】,kQE
- https://www.mexperience.com/?T=1686132112324&s=谷歌霸屏技术【tg:seogoogle987】,dQ3
- https://www.nonsolocap.it/cap?action=SEARCH&k=谷歌霸屏技术【tg:seogoogle987】,bXp
- https://www.thedp.com/page/search?q=谷歌霸屏技术【tg:seogoogle987】,MuX
- https://www.umc.edu/search.aspx?ID=I4gnDKRS991MFcIDDzoYze4aWSAszAm7&q=谷歌霸屏技术【tg:seogoogle987】,LEO
- https://www.pixiv.net/tags/谷歌霸屏技术【tg:seogoogle987】,QHl
- https://www.roberthalf.com/us/en/jobs/all/谷歌霸屏技术【tg:seogoogle987】JEt
- https://yscc1986.net/search/谷歌霸屏技术【tg:seogoogle987】Vk1
- https://www.sensorshop24.de/catalogsearch/result/index/?type=132&q=谷歌霸屏技术【tg:seogoogle987】,z2O
- https://www.vivaraise.fr/catalogsearch/result/?q=谷歌霸屏技术【tg:seogoogle987】,zSf
- https://www.vet-direct.com/search?cat=72&term=谷歌霸屏技术【tg:seogoogle987】,sWf
- https://www.nyif.com/catalogsearch/result/?q=谷歌霸屏技术【tg:seogoogle987】,ZDy
- https://www.oikos-tecnics.com/?s=谷歌霸屏技术【tg:seogoogle987】,6F9
- https://www.jusoen.com/addreng.asp?p1=谷歌霸屏技术【tg:seogoogle987】EwN
- https://www.remit.co.jp/ne/?s=谷歌霸屏技术【tg:seogoogle987】,oh1
- https://www.toy-people.com/?s=谷歌霸屏技术【tg:seogoogle987】,LDY
- https://www.remit.co.jp/pt/?action=CHECK&s=谷歌霸屏技术【tg:seogoogle987】,h4u
- https://www.rostaing.com/catalogsearch/result/?cat=22&q=谷歌霸屏技术【tg:seogoogle987】,Adi
- https://www.swecobelgium.be/?page=9&s=谷歌霸屏技术【tg:seogoogle987】,FpY
- https://www.maine.gov/pfr/professionallicensing/search/node?keys=谷歌霸屏技术【tg:seogoogle987】,j0K
- https://www.zutari.com/search/谷歌霸屏技术【tg:seogoogle987】,2jg
- https://www.sebson.de/en/search?query=谷歌霸屏技术【tg:seogoogle987】,fNg
- https://www.sic-info.org/?s=谷歌霸屏技术【tg:seogoogle987】,MnR
- https://www.abbreviations.com/谷歌霸屏技术【tg:seogoogle987】dlv
- https://www.wou.edu.my/?s=谷歌霸屏技术【tg:seogoogle987】,rrV
- https://www.reginatangoshoes.com/en/catalogsearch/result/index/?T=1686132113407&q=谷歌霸屏技术【tg:seogoogle987】,cFG
- https://www.revere.org/search?action=SEARCH&q=谷歌霸屏技术【tg:seogoogle987】,DQ3
- https://www.jusoen.com/addreng.asp?p1=谷歌霸屏技术【tg:seogoogle987】S1f
- https://www.duksung.ac.kr/search/front/Search.jsp?qt=谷歌霸屏技术【tg:seogoogle987】EZC
- https://www.pearlstonecenter.org/search/谷歌霸屏技术【tg:seogoogle987】,SX6
- https://www.metalmensales.com/?action=QUERY&s=谷歌霸屏技术【tg:seogoogle987】,Qop
- https://www.paxnet.co.kr/search/jongmok?kwd=谷歌霸屏技术【tg:seogoogle987】J7U
- https://www.kissthekangaroo.com.au/index.php?route=product/search&tag=谷歌霸屏技术【tg:seogoogle987】,EzF
- https://www.mdbg.net/chinese/dictionary?page=worddict&wdrst=0&wdqb=谷歌霸屏技术【tg:seogoogle987】,oKY
- https://www.wmfe.org/?s=谷歌霸屏技术【tg:seogoogle987】,EZt
- https://www.klatreverden.no/search?q=谷歌霸屏技术【tg:seogoogle987】,2m0
- https://www.yidian51.com/taobao/谷歌霸屏技术【tg:seogoogle987】,HLE
- https://www.springfieldlibrary.org/library/?s=谷歌霸屏技术【tg:seogoogle987】,8rt
- https://www.remit.co.jp/zh/?s=谷歌霸屏技术【tg:seogoogle987】,B0Y
- https://www.tarleton.edu/?s=谷歌霸屏技术【tg:seogoogle987】,dTH
- https://www.remit.co.jp/vi/?s=谷歌霸屏技术【tg:seogoogle987】uHB
- https://www.nytimes.com/search?dropmab=true&query=谷歌霸屏技术【tg:seogoogle987】,Pr6