You can. I think there's a couple approaches - bind mount the docker socket, or expose it on localhost, and use host networking for the consuming container, or there exist various proxy projects for the socket. There may be other ways, curious if anyone else knows more.
mystifyingpoi|13 days ago
Bind-mounting /var/run/docker.sock gives 100% root access to anyone that can write it. It's a complete non-starter for any serious deployment, and we should not even consider it at any time.
itintheory|12 days ago
NewJazz|13 days ago
itintheory|12 days ago
The question didn't ask about RBAC, well thought out or not.