#!/usr/bin/env bash docker run -p 80:80 --name nginx \ -v /docker/code:/usr/share/nginx/html \ -v /var/log/nginx:/var/log/nginx \ -v /docker/nginx/conf.d:/etc/nginx/conf.d \ --privileged=true \ -d nginx