赞
踩
启动docker容器出错了,以前启动好好的,现在出现这个问题:
- Creating singularitiescr_master_1 ...
- Creating singularitiescr_master_1 ... error
-
- ERROR: for singularitiescr_master_1 Cannot start service master: driver failed programming external connectivity on endpoint singularitiescr_master_1 (dceb93aa51f4db773bf0d198535e96d008313f6f4a8a116346ebe7a5095bf1ea): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 50070 -j DNAT --to-destination 172.18.0.2:50070 ! -i br-81538e18aaa6: iptables: No chain/target/match by that name.
- (exit status 1))
-
- ERROR: for master Cannot start service master: driver failed programming external connectivity on endpoint singularitiescr_master_1 (dceb93aa51f4db773bf0d198535e96d008313f6f4a8a116346ebe7a5095bf1ea): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 50070 -j DNAT --to-destination 172.18.0.2:50070 ! -i br-81538e18aaa6: iptables: No chain/target/match by that name.
- (exit status 1))
- ERROR: Encountered errors while bringing up the project.
按照上面的说法应该是iptables出现了冲突,原因是在本机在运行这个镜像的过程中,自己设置过防火墙,后来重启docker容器就 失败了
解决方法:
重启docker服务就行:
systemctl restart docker
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。