mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-10-09 10:12:16 +00:00
nginx
This provides a Clear Linux* nginx service
Build
docker build -t clearlinux/nginx .
Or just pull it from Dockerhub
docker pull clearlinux/nginx
Start nginx Container
The default root path is /var/www/html. The default configuration path is /etc/nginx/.
docker run -p 80:80 -v /some/content:/var/www/html -d clearlinux/nginx
How to use this image
- See
How to use this imagesection of the official nginx image page.
Extra Build ARGs
swupd_argsSpecifies SWUPD flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg