Public Repository

Last pushed: 2 years ago
Short Description
Centos 7 with NginX 1.8.0
Full Description

A clean install of Centos 7 with Nginx 1.8.0, in order to run as daemon, and avoid exiting, do it like this:

docker run -d --name "Nginx" -p 8001:80 -v /Users/nazareno/Documents/www/:/var/www nazarenofeito/nginx /bin/bash -c "/usr/sbin/nginx && while true; do sleep 3600; done;"

Then point the browser to:
http://<mapped ip>:8001/

Docker Pull Command
Owner
nazarenofeito

Comments (0)