Files
dockerfiles/nginx
Liu, Jianjun 07d1c7c968 Hide the expected warning msg
When removing the duplicated file and directory via rm -d,
if it's a non-empty directory, it will prompt the warning
message that the directory could not be removed becuase it
is not empty. This is as expectation, as there are other
files under the same diretory and we need to keep them.
Hide these warning message to avoid confusion.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-07-09 09:08:01 +08:00
..
2019-07-09 09:08:01 +08: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

docker run -p 80:80 -v /some/content:/usr/share/nginx/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