首页 > 其他 > 详细

docker之常见错误

时间:2019-11-04 01:56:45      阅读:121      评论:0      收藏:0      [点我收藏+]

 

1. 

docker run -d --name showdoc -p 4999:80 -v /showdoc_data/html:/var/www/html/      star7th/showdoc
WARNING: IPv4 forwarding is disabled. Networking will not work.
58fc7aa9da0886e66d73e40bf8927aa6b4857e60189d9a24270a89820a4e2427
docker: Error response from daemon: driver failed programming external connectivity on endpoint showdoc (1f2e6e122a573af17586c5f112951b8d82f2f037e09aebce298170f79e18e231):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 4999 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.
 (exit status 1)).

解决:
systemctl restart docker
docker start 58fc

 

docker之常见错误

原文:https://www.cnblogs.com/xingxia/p/docker_errors.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!