driver failed programming external connectivity on endpoint wordpress

docker run 镜像的时候报错:

[root@docker ~]# docker run -itd --name wordpress -p 88:80 wordpress:v1
b77482f8075042e9cc6723d6922a1211c37d99339678a00cc040396b23d40ef0
docker: Error response from daemon: driver failed programming external connectivity on endpoint wordpress (77cb6b1ea5387ac97b1b90178b2ccda831aa9713e0e9a83be057083fed66fc69):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 88 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.
 (exit status 1)).

原因:

开启docker服务后,执行了关闭防火墙操作;

 

解决:

重新启动docker服务;

 

参考:

https://blog.csdn.net/czz1141979570/article/details/78752671

上一篇:67.canvas绘制常规图形


下一篇:日常学习笔记(1)