You can use the port 80 or/and port 443 (for https)
You have to configure your nginx with a configuration file. To integrate the configuration file use the volume : /etc/nginx/sites-available
You can add keys for the https protocol with the volume : /etc/nginx/keys
You can access to the log file with this volume : /var/log/nginx
To run the default version of Nginx type this line
docker run -d -p 80:80 kekev76/nginx
Content type
Image
Digest
sha256:e35ff58e2…
Size
93.7 MB
Last updated
almost 11 years ago
docker pull kekev76/nginx