Luinx虚拟机安装的docker启动报错如下:
Error response from daemon: driver failed programming external connectivity on endpoint nacos (2b0f4edff8f640559af9626936d1b38d965302ef525af483716e8e8c9121583e): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8848 -j DNAT --to-destination 172.17.0.2:8848 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1))
翻译一下意思就是:驱动程序无法在终结点nacos上编程外部连接
换一个mysql再试试
Error response from daemon: driver failed programming external connectivity on endpoint mysql (996617f3569d808a89e8285a1560f367386a38e0fc045929230788192e352aa7): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 3306 -j DNAT --to-destination 172.23.0.2:3306 ! -i br-e9b21b5b8b70: iptables: No chain/target/match by that name.
(exit status 1))
还是一个样,推测一波大概意思也明白了,应该是端口映射或者网络出现了问题。本人猜测端口问题比较大,二话不说先重启一下docker
systemctl restart docker
再启动容易,诶!它好了!