Running nginx using docker and access on port 80 of host $ docker run -it --rm -d -p 8080:80 --name web nginx Accessing on http://localhost/