赞
踩
用Docker部署的时候出现容器突然挂了:
报错如下:
docker restart 7961927c5bda
Error response from daemon: Cannot restart container 7961927c5bda: driver failed programming external connectivity on endpoint mysql (5c05b069b5f588fb71ca83216194bb7590af3fc24e38643a692f2edf6e83658d): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 3306 -j DNAT --to-destination 172.17.0.3:3306 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1))
restart 容器报错,解决办法:
systemctl restart docker
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。