Skip to content

[Feature] Setting up per-container allowlists with dynamic proxy container name #85

Open

Description

@efficks

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.

Activity

  1. amanda-wee commented on Feb 14, 2026

    @amanda-wee
    Contributor

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions