亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

docker-compose up -d 運行的時候提示錯誤

the service name True must be a quoted string?在哪改?

正在回答

3 回答

https://www.jianshu.com/p/44022c67f117?文章中的 dock-compose.yaml

0 回復 有任何疑惑可以回復我~

version: '2' networks: ?byfn: services: ?etcd1: ? ?image: quay.io/coreos/etcd ? ?container_name: etcd1 ? ?command: etcd -name etcd1 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new ? ?ports: ? ? ?- 32791:2379 ? ? ?- 32790:2380 ? ?networks: ? ? ?- byfn ?etcd2: ? ?image: quay.io/coreos/etcd ? ?container_name: etcd2 ? ?command: etcd -name etcd2 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new ? ?ports: ? ? ?- 32789:2379 ? ? ?- 32788:2380 ? ?networks: ? ? ?- byfn ?etcd3: ? ?image: quay.io/coreos/etcd ? ?container_name: etcd3 ? ?command: etcd -name etcd3 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new ? ?ports: ? ? ?- 32787:2379 ? ? ?- 32786:2380 ? ?networks: ? ? ?- byfn


0 回復 有任何疑惑可以回復我~

docker-compose.yml 文件方便貼出來嗎

0 回復 有任何疑惑可以回復我~
#1

qq_走走看看_0

https://www.jianshu.com/p/44022c67f117 文章中的 docker-compose.yml
2019-10-31 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

docker-compose up -d 運行的時候提示錯誤

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號