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 request] Advanced filtering by container name and label #181
Is your feature request related to a problem? Please describe.
I'd like to request integration of advanced filters like the ones that the Docker Proxy Filter container provides:
"Filters List Containers responses so any container that does not match filters is excluded from the return list
Any other Container endpoints will return 404 if it does not match a filter"
no per-container allowlist (no label configuration)
limited to network proxying only (not unix socket)
Describe the solution you'd like
I'd like socket-proxy to have similar filter those provided by Docker Proxy Filter: CONTAINER_NAMES and CONTAINER_LABELS filters "list containers" answers to the containers matching the listed names/labels and only allows queries to those containers. It could also be extended to other list queries, like networks.
It seems that part of the name filtering is already being worked on #49 but limited to direct queries by name only, with no filtering to "list containers" or by labels.
There is also an interesting modifier SCRUB_ENVS: "When true any responses from the Container Inspect endpoint will have Config.Env set to an empty array. This prevents leaking of sensitive environment:/-e variables that you passed to your container, over the network."
I'd also like to be able to set these options per-container with labels.
Describe alternatives you've considered
Using a lot of proxy and filter containers in internal network mode!
Additional context
Add any other context or screenshots about the feature request here.
Activity
Blacks-Army commentedon Sep 5, 2026
I was about to file the exact same feature request! Would love to see this land, especially the SCRUB_ENVS part.
Blacks-Army commentedon Sep 7, 2026
Hey @wollomatic, is this something you’re planning to add? Or should we use the project mentioned in the post?