当前位置: 代码迷 >> 综合 >> iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 1521 -j DNAT --to-destinatio
  详细解决方案

iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 1521 -j DNAT --to-destinatio

热度:75   发布时间:2023-09-20 01:31:43.0

启动docker容器时报错

[root@localhost ~]# docker start 5e7309daaa45
Error response from daemon: driver failed programming external connectivity on endpoint myoracle (2e31c1d8c82bc4c559b3c6a59b11fb65fb5d1f3f8e211d2b0aa1cd7f39b7cc67):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 1521 -j DNAT --to-destination 172.17.0.3:1521 ! -i docker0: iptables: No chain/target/match by that name.
 (exit status 1))
Error: failed to start containers: 5e7309daaa45

解决方案:重启docker
systemctl restart docker

  相关解决方案