您现在的位置是:热点 >>正文
云计算核心技术Docker教程:Docker Compose指定单个compose文件
热点23584人已围观
简介...
docker-compose可以使用该-f标志通过命令行或通过在外壳程序或环境文件中设置COMPOSE_FILE环境变量来指定不在当前目云计录中的Compose文件的路径。
有关-f在命令行上使用该选项的示例,假设您正在运行Compose Rails示例,并docker-comp算核ose.yml在名为的目录中有一个文件sandbox/rails。您可以使用docker-compose pull之类的命令db通过使用以心技下-f标志从任何地方获取服务的postgres图像:docker-compose -f ~/sandbox/rails/docker-compose.术Dyml pull db
这是完整的示例:
$ docker-compose -f ~/sandbox/rails/docker-compose.yml pocull db
Pulling db (postgres:latest)...
latest: Pulling from library/postgres
ekef0380f84d05: Pull complete
50cf91dc1db8: Pull complete
d3add4cd115c: Pull completr教e
467830d8a616: Pull complete
089b9db7dc57: Pull complete
6fba0a36935c: Pull co程:mplete
81ef0e73c953: Pull complete
338a6c4894dc: Pull complete
15853f32f67c: PullDo complete
044c83d92898: Pull complete
17301519f133: Pull complete
dcca70822752: Pckull complete
cecf11b8ccf3: Pull complete
Digest: sha256:1364924c753d5ff7e22er60cd34dc4ba05ebd40ee8193391220be0f9901d4e1651
Status: Downloaded newer im Cage for postgres:latest
每个配置都有一个项目名称,如果需要指定项目名称可以使用-p,如果提供-p标志,则可以指定项目名称om。如果未指定标志,则Compose使用当前目录名称。另外也可以使用环境变量COMPOSE_PROJECT_NAME来设置项目名称。
Tags:
相关文章
Facebook高管称西方数字支付落后中国,公司考虑支持NFT
热点新浪科技讯 北京时间8月25日上午消息,Facebook考虑开发与NFT (非同质代币) 有关的产品或者功能。Facebook高管大卫·马库斯(David Marcus)在接受采访时表示:“我们绝对会...
【热点】
阅读更多萤石发布EZVIZ AI Core X智能大模型主机:64Tops算力开启家居“大脑”时代
热点在智能家居向高度自动化迈进的今天,萤石(EZVIZ)于4月21日正式推出了一款集大成之作——EZVIZ AI Core X智能大模型主机。这款产品打破了传统设备的边界,将高性能主机、网络附属存储(NA...
【热点】
阅读更多吃乌头鱼有什么营养价值
热点吃乌头鱼有什么营养价值-业百科乌头鱼热量为119大卡(100克可食部分),其中含有丰富的优质蛋白质、少量不饱和脂肪酸,以及维生素A、维生素E、硫黄素、烟酸等微量元素,以及钙、磷、硒。乌头鱼的营养价值-...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.posten-portal.de/search?query=谷歌霸屏软件【tg:seogoogle987】,ooI
- https://www.urmc.rochester.edu/news/search?q=谷歌霸屏软件【tg:seogoogle987】,E60
- https://www.sensorshop24.de/catalogsearch/result/index/?type=132&q=谷歌霸屏软件【tg:seogoogle987】,wlQ
- https://www.mesec.cz/vyhledavani/?qs=谷歌霸屏软件【tg:seogoogle987】,UtK
- https://www.klatreverden.no/search?q=谷歌霸屏软件【tg:seogoogle987】,pLC
- https://www.nonsolocap.it/cap?action=SEARCH&k=谷歌霸屏软件【tg:seogoogle987】,qjf
- https://www.kaliastyle.com/catalogsearch/result/?q=GOOGLE谷歌霸屏软件【tg:seogoogle987】,ET1
- https://blvdseafood.com/?s=谷歌霸屏软件【tg:seogoogle987】vWB
- https://www.lyrics.com/lyrics/kkk3谷歌霸屏软件【tg:seogoogle987】,kXj
- https://store.line.me/search/sticker/ja?q=谷歌霸屏软件【tg:seogoogle987】Cb0
- https://www.sebson.de/en/search?query=谷歌霸屏软件【tg:seogoogle987】,e6S
- https://www.paspaley.com/catalogsearch/result/?action=QUERY&q=谷歌霸屏软件【tg:seogoogle987】,Cd1
- https://www.spicebar.de/catalogsearch/result/?q=谷歌霸屏软件【tg:seogoogle987】,5b8
- https://www.reginatangoshoes.com/en/catalogsearch/result/index/?T=1686132113407&q=谷歌霸屏软件【tg:seogoogle987】,a1O
- https://www.lindseymedicalsupply.com/search/谷歌霸屏软件【tg:seogoogle987】,2Rl
- https://www.toy-people.com/?s=谷歌霸屏软件【tg:seogoogle987】,sGH
- https://www.tullygroup.us/?ID=hbkq8jFjrQlVRrwzEmvoUJJAY4e1Lfo5&s=谷歌霸屏软件【tg:seogoogle987】,ml1
- https://www.wikiart.org/pt/Search/谷歌霸屏软件【tg:seogoogle987】,5YO
- https://www.sic-info.org/?s=谷歌霸屏软件【tg:seogoogle987】,Cm7
- https://yscc1986.net/search/谷歌霸屏软件【tg:seogoogle987】ue1
- https://www.therapeuticassociates.com/?cat=5&s=谷歌霸屏软件【tg:seogoogle987】,lLn
- https://www.scq.ubc.ca/?page=2&s=谷歌霸屏软件【tg:seogoogle987】,Z0h
- https://www.flickr.com/photos/tags/谷歌霸屏软件【tg:seogoogle987】XYS
- https://www.repetto.jp/item/search?action=QUERY&q=谷歌霸屏软件【tg:seogoogle987】,TXB
- https://www.maigoo.com/search/?block=&q=谷歌霸屏软件【tg:seogoogle987】,cGT
- https://www.roberthalf.com/us/en/jobs/all/谷歌霸屏软件【tg:seogoogle987】5I9
- https://www.maafushidive.com?collections?vendors?q=谷歌霸屏软件【tg:seogoogle987】,3jG
- https://www.whirlpool.com.hk/chinese/catalogsearch/result?cat=30&q=谷歌霸屏软件【tg:seogoogle987】,KAT
- https://dict.naver.com/dict.search?dicQuery&query=谷歌霸屏软件【tg:seogoogle987】l9a
- https://www.lssystems.co.uk/search?page=0&per_page=24&term=谷歌霸屏软件【tg:seogoogle987】,Tcn
- https://hsmoa.com/search?query=谷歌霸屏软件【tg:seogoogle987】WGP
- https://www.springfieldlibrary.org/?s=谷歌霸屏软件【tg:seogoogle987】,9SW
- https://www.navymwr.org/search/?query=谷歌霸屏软件【tg:seogoogle987】,psS
- https://www.pickett.co.uk/collections/vendors?q=谷歌霸屏软件【tg:seogoogle987】,bOs
- https://www.target.com/s?searchTerm=谷歌霸屏软件【tg:seogoogle987】,36i
- https://www.olx.ba/pretraga?trazilica=谷歌霸屏软件【tg:seogoogle987】,Cg5
- https://www.l-and-b.jp/?page=1&s=谷歌霸屏软件【tg:seogoogle987】,ffA
- https://www.searcychamber.com/list/search?AsfnA=DtkTQzs&q=谷歌霸屏软件【tg:seogoogle987】,g5g
- https://www.rockngem.com/?action=CHECK&s=谷歌霸屏软件【tg:seogoogle987】,FHc
- https://www.routesonline.com/search/?query=谷歌霸屏软件【tg:seogoogle987】,RAx
- https://www.pacific-lifestyle.co.uk/search?sort=alphabetical&term=谷歌霸屏软件【tg:seogoogle987】,soh
- https://www.remit.co.jp/zh/?s=谷歌霸屏软件【tg:seogoogle987】,H3I
- https://www.welshmountainzoo.org/shop/index.php?routeproduct/search&tag=谷歌霸屏软件【tg:seogoogle987】,7B8
- https://www.tarleton.edu/?s=谷歌霸屏软件【tg:seogoogle987】,fh4
- https://www.yr.no/en/search?q=谷歌霸屏软件【tg:seogoogle987】,PlF
- https://5gaa.org/?token=6e2l7hjt2i26gzgctgwdrv7v0j6nxorq&s=谷歌霸屏软件【tg:seogoogle987】YmF
- https://www.yidian51.com/taobao/谷歌霸屏软件【tg:seogoogle987】,aof
- https://www.qylaws.com/search/谷歌霸屏软件【tg:seogoogle987】,bUj
- https://www.valuecolleges.com/?action=QUERY&s=谷歌霸屏软件【tg:seogoogle987】,JTt
- https://www.monroecounty.gov/search/?q=谷歌霸屏软件【tg:seogoogle987】,ABS