This container provides an Nginx HTTP Server on Ubuntu 24.04 with common tools, logging, and SSH access, following the same conventions as apache-server in this repository.
/var/www/html/index.htmlhttp://127.0.0.1:80/# SSH access
ssh root@<container_ip>
# Password: pass
# Or use GNS3 console
# Start logging service
rsyslogd
# Start SSH service
/usr/sbin/sshd -D
# Start Nginx in foreground
nginx -g 'daemon off;'
docker build -t ae3gis-nginx nginx-server
docker run --rm -it \
-p 8080:80 -p 2222:22 \
-v $(pwd)/site:/var/www/html:ro \
--name ae3gis-nginx \
ae3gis-nginx
/var/log/syslog/var/log/nginx/access.log/var/log/nginx/error.log/var/log/auth.logps aux | grep nginxtail -f /var/log/nginx/error.logcurl -v http://127.0.0.1:80/ps aux | grep sshdContent type
Image
Digest
sha256:e37692397…
Size
59.9 MB
Last updated
21 days ago
docker pull tollan/nginx-server