Files
dockerfiles/nginx
2019-08-08 19:58:24 -07:00
..
2019-08-08 19:58:24 -07:00
2019-08-08 19:58:24 -07:00
2019-08-08 19:58:24 -07: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 image section of the official nginx image page.

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg