PortainerOps Docker Socket Security (tecnativa/docker-socket-proxy RO Flags)
Never mount raw /var/run/docker.sock into internet-facing proxies; place tecnativa/docker-socket-proxy with POST=0 on an internal bridge network.
services:
socket_proxy:
image: tecnativa/docker-socket-proxy:0.3.0
environment:
CONTAINERS: 1
SERVICES: 1
TASKS: 1
NETWORKS: 1
POST: 0 # Blocks container creation & root escape
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro

