docker: driver failed programming external connectivity on endpoint webserver

后端 未结 12 1974
陌清茗
陌清茗 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条回答
  •  南笙
    南笙 (楼主)
    2020-12-23 19:38

    Check what's on port 80 right now - sudo ss -tulpn | grep :80

    You may have apache2 running. You can check it - sudo service apache2 status If so - sudo service apache2 statop

提交回复
热议问题