Why does socket-proxy needs to know its own name for label allowlists? #179
Unanswered
NotaInutilis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Just for the sake of some "simple" curiosity: when setting up per container allowlists, the first step is to define a
proxycontainername. Why is that necessary?The only other tools that read configuration from docker labels are Traefik and Crowdsec, and both of those don't need to know their own container name. Is it a security measure like the
127.0.0.1default listening address?I'm rereading the docs again and found this: "In bridge network mode, each container that uses socket-proxy can be configured with its own allowlist." Might that be because that label behavior only applies to TCP listener/network mode and not Unix socket mode?
All reactions