./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

你可能感兴趣的:(区块链)