You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Setting up per-container allowlists with dynamic proxy container name #85
Is your feature request related to a problem? Please describe.
I'm running socket-proxy in a docker swarm. The proxy's name is not static and I want to be able to use the per-container allowlist.
I can't use the -proxycontainername because the containername is not known at this stage.
Describe the solution you'd like
Instead of a -proxycontainername option, it would be useful to specify the network name on which socker-proxy runs (like traefik do).
With this option, the socket-proxy name is not important, only the network name which is static.
Describe alternatives you've considered
The alternative is to use one socker-proxy for each of my container with dedicated network for each one.
I placed "get socket-proxy to support Docker Swarm" as a separate point in my Next Steps discussion because I suspect that it would require using Swarm-specific Docker Engine API endpoints to determine what containers are in the swarm. I could be mistaken as perhaps it is as simple as just providing a -proxynetwork option instead, but as I don't use Docker Swarm myself I don't have a setup to test right now. Would you be willing to help test from a feature branch?
Activity
amanda-wee commentedon Feb 14, 2026
I placed "get socket-proxy to support Docker Swarm" as a separate point in my Next Steps discussion because I suspect that it would require using Swarm-specific Docker Engine API endpoints to determine what containers are in the swarm. I could be mistaken as perhaps it is as simple as just providing a
-proxynetworkoption instead, but as I don't use Docker Swarm myself I don't have a setup to test right now. Would you be willing to help test from a feature branch?