docker: driver failed programming external connectivity on endpoint webserver

后端 未结 12 1958
陌清茗
陌清茗 2020-12-23 19:16

I am trying to run a docker example following this documentation

This is my command:

docker run -d -p 80:80 --name webserver nginx
<
12条回答
  •  梦毁少年i
    2020-12-23 19:36

    I had the same issue with one of my containers. I tried everything but when nothing worked, I tried the following and launched the container again with success

     sudo service docker stop
     sudo rm /var/lib/docker/network/files/local-kv.db
     sudo service docker start
    

提交回复
热议问题