mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-06-29 00:55:57 +00:00
07d1c7c968
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>
haproxy
This provides a Clear Linux* haproxy instance.
Build
docker build -t clearlinux/haproxy .
Or just pull it from Dockerhub
docker pull clearlinux/haproxy
start a haproxy instance
docker run --name some-haproxy -d -p 8080:80 clearlinux/haproxy
use customized configuration file
Since no two users of haproxy are likely to configure it exactly alike, we provide /usr/local/etc/haproxy/haproxy.cfg as an example, user may need to customize their own and override this default. Please refer to page for configure details.
Details of how-to
Please refer to the docker official haproxy image page.
Extra Build ARGs
swupd_argsSpecifies SWUPD flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg