I am trying to run a docker example following this documentation
This is my command:
docker run -d -p 80:80 --name webserver nginx
Check what's on port 80 right now - sudo ss -tulpn | grep :80
sudo ss -tulpn | grep :80
You may have apache2 running. You can check it - sudo service apache2 status If so - sudo service apache2 statop
sudo service apache2 status
sudo service apache2 statop