Tecnativa / docker-socket-proxy

Proxy over your Docker socket to restrict which requests it accepts
Apache License 2.0
1.39k stars 159 forks source link

Could I to use the docker-socket-proxy with a password to tcp? #133

Open antonio24073 opened 1 month ago

antonio24073 commented 1 month ago

Hi,

I'm using docker-socket-proxy with a host network (internal, not accessible externally) and getting this tcp inside a containers like traefik and portainer.. I could not to set an internal network connection only for these containers because I'm using a normal container with this docker socket to a container with swarm (I don't know how connect a network between a normal container and a swarm node without to use the host network (not accessible externally). so the other containers can acess the tcp connection too.

Could I to use the docker-socket-proxy with a password to this tcp connection?

Best regards,

antonio24073 commented 1 month ago

Something like:

    command: -H tcp://username:password@172.123.0.123:1234