Simple docker image that provides an NGINX server based on CentOS 7. This image is hosted on Dockerhub. When the container is initialized the default HTML content is deleted, too.
Run the following command to start the container:
docker run -d -p 80:80 --name nginx smaject/nginx
docker build -t smaject/nginx .docker pull smaject/nginx
The Docker image does expose the following environment variables:
DEPLOYMENT_DIR: Document root of the server (copy your own content to this directory)Content type
Image
Digest
Size
201.8 MB
Last updated
almost 8 years ago
docker pull smaject/nginx