mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-10-15 05:45:29 +00:00
No bootloader update necessary in containers so add -b part of Dockerfile. Add ARG swupd_args.
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 /var/www:/var/www -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