git clone https://github.com/battcor/lemp-centos-6
cd lemp-centos-6/
docker build -t battcor/lemp-centos-6:latest .
docker run \
-v $(pwd)/html:/var/www/html \
-v $(pwd)/files/default.conf:/etc/nginx/conf.d/default.conf \
-v $(pwd)/files/supervisord.conf:/etc/supervisord.conf \
-v $(pwd)/files/start.sh:/var/www/html/start.sh \
--name lemp-centos-6 -p 127.0.0.1:8080:80 battcor/lemp-centos-6
Then, open http://127.0.0.1:8080 in your browser
Content type
Image
Digest
Size
649.6 MB
Last updated
about 9 years ago
docker pull battcor/lemp-centos-6