-
Hi I would appreciate your help on a problem I have. I am trying to add a socket proxy for my docker containers in order to increase the security. I am using socket-proxy but for some reason I do not know, Traefik cannot communicate with it. Here is the error is get
here is my docker-compose file
I know it is missing the SSL part, but I removed that to upload it online. Thus SSL is not the issue here. Have you encountered such an issue before? Note that I am using AlmaLinux for OS. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello, thanks for reaching out. I'm always happy to get feedback. Seems, that socket-proxy is missing one command line:
Without this line, socket-proxy is only listening on 127.0.0.1 which ist only inside the container in a docker network. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi pisaia01, thanks for your reply. The Log file entry from socket-proxy looks good. I'd suggest to remove the static IP configuration to test if it works then (just remove the ipam part of the network configuration and the dedicated ip addresses in the service configuration. Then, change the |
Beta Was this translation helpful? Give feedback.
managed to solve it. I have changed the network part from this
to this
and now it works