A Docker image for Docker socket to restrict with haproxy
2.3K
docker run -d \
--name=srvproxy-socket \
--restart=unless-stopped \
--hostname=srvproxy-socket \
--privileged \
-p 127.0.0.1:2375:2375 \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
loxoo/proxy-socket
These API sections are mostly harmless and almost required for any service that uses the API, so they are granted by default.
$EVENTS$PING$VERSIONThese API sections are considered security-critical, and thus access is revoked by default. Maximum caution when enabling these.
$ALLOW_RESTARTS$AUTH$SECRETS$POST: When disabled, only GET and HEAD operations are allowed, meaning
any section of the API is read-only.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.
$BUILD$COMMIT$CONFIGS$CONTAINERS$DISTRIBUTION$EXEC$IMAGES$INFO$NETWORKS$NODES$PLUGINS$SERVICES$SESSION$SWARM$SYSTEM$TASKS$VOLUMES$LOG_LEVEL - Logging severity levels. default: info$TZ - Timezone. optional/var/run/docker.sock - A path for the UNIX socket of Docker daemon.2375/tcp - Tcp socket listening port.Content type
Image
Digest
sha256:c9214bcc5…
Size
5.6 MB
Last updated
about 2 years ago
docker pull loxoo/proxy-socket