Via GitHub repository
$ docker build --tag alireaza/nginx:$(date -u +%Y%m%d) --tag alireaza/nginx:latest https://github.com/alireaza/nginx.git
$ docker run \
--interactive \
--tty \
--rm \
--env="TZ=$(cat /etc/timezone)" \
--mount="type=bind,source=$(pwd)/src,target=/var/www/html" \
--publish="80:80" \
--name="nginx" \
alireaza/nginx
Content type
Image
Digest
sha256:f601a51d5…
Size
9.7 MB
Last updated
over 3 years ago
docker pull alireaza/nginx