This is a fork of https://github.com/Tecnativa/docker-socket-proxy with added https support and updated haproxy.
To a few line of this README.md and the haproxy.cfg the Apache-2.0 license may still applies.
You grant and revoke access to certain features of the Docker API through environment variables.
Normally the variables match the URL prefix (i.e. AUTH blocks access to /auth/*
parts of the API, etc.).
Possible values for these variables:
0to revoke access.1to grant access.
These API sections are mostly harmless and almost required for any service that uses the API, so they are granted by default.
EVENTSPINGVERSION
These API sections are considered security-critical, and thus access is revoked by default. Maximum caution when enabling these.
AUTHSECRETSPOST: When disabled, allPOSToperations are blocked, meaning any section of the API is read-only.ALL: Allows everything, except forPOSTif not enabled
You will possibly need to grant access to some of these API sections, which are not so extremely critical but can expose some information that your service does not need.
ALLOW_POWER(containers/id/start|stop|kill|restart)ALLOW_RESTART(containers/id/restart)ALLOW_START(containers/id/start)ALLOW_STOP(containers/id/stop)ALLOW_Kill(containers/id/kill)BUILDCOMMITCONFIGSCONTAINERSDISTRIBUTIONEXECGRPCIMAGESINFONETWORKSNODESPLUGINSSERVICESSESSIONSWARMSYSTEMTASKSVOLUMES