./byfn.sh -m up 啓動fabric時 出現No such container: cli

proceeding ...
LOCAL_VERSION=1.4.3
DOCKER_IMAGE_VERSION=1.4.3
Creating network "net_byfn" with the default driver
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:  (iptables failed: iptables --wait -t nat -I DOCKER -i br-117e40d6720d -j RETURN: iptables: No chain/target/match by that name.
 (exit status 1))
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
Error: No such container: cli
ERROR !!!! Test failed
 

原因:

因爲要開發8080端口,重啓了一次centos防火牆,然後再次啓動fabric就不行了,報異常。

解決:

參考:https://blog.csdn.net/lcr_happy/article/details/89282116

防火牆關閉之後需要重啓docker服務。

執行:

service docker restart
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章