nginx:latest docker code example Example: how to install nginx on docker $ docker run --name mynginx1 -p 80:80 -d nginx