Sign inSign up

avgurx/nginx

By avgurx

Updated 6 months ago

Nginx web server

Image
Networking
Web servers
0

998

avgurx/nginx repository overview

Version

Nginx Server 1.28.3 Alpine Linux 3.23 S6 Overlay 3.1.6.2

Start Сontainer

docker run --name nginx \
           -e VUID=7001 \
           -e VGID=7001 \
           -e TZ=Etc/UTC \
           -v /opt/nginx:/vdsroot \
           -d avgurx/nginx:latest

When container is launched for the first time, if there are no configuration files (see Volumes), the minimum required set of configuration files and directories are created

Volumes

-v /opt/nginx:/vdsroot

Bind /vdsroot directory inside the container to the /opt/nginx on the Docker host. This directory contains everything to manage and control Nginx Server:

/etc - configuration files
/log - logs
/www - web sites data

Environment Variables

TZ

A time zone of container. Default value: Etc/UTC

VUID / VGID

Run Nginx as a non-root user. If unset, default values are: 7001/7001

Tag summary

Content type

Image

Digest

sha256:737706710

Size

7.9 MB

Last updated

6 months ago

docker pull avgurx/nginx