docker run 时候提示错误

进阶

sudo docker run -i -t -d -p 9980:80 --restart=always onlyoffice/documentserver-de

查了很多资料都是这样,解决不了

docker: Error response from daemon: driver failed programming external connectivity on endpoint gifted_cartwr
ight (6721d46517d732908af52e7a49964339643aba9a830a8c519792b88b978a7a13):  (iptables failed: iptables --wait -
t nat -A DOCKER -p tcp -d 0/0 --dport 9980 -j DNAT --to-destination 172.18.0.2:80 ! -i docker0: iptables: No
chain/target/match by that name.
 (exit status 1)).

问题比较着急?请联系QQ:760483
  • 进阶
  • 进阶    2020-02-07 13:05:501楼

    sudo docker run -i -t -d -p 9980:80 --restart=always onlyoffice/documentserver-de
    但是

    docker ps -a -q

    docker stop $(docker ps -a -q)

    docker rm $(docker ps -a -q)

    重启服务器就可以了,

    猪哥,有没有办法

    +添加回复

  • 回复