-
Notifications
You must be signed in to change notification settings - Fork 7
Replies: 1 comment · 4 replies
-
Hi @bma73-bma, After a short check, the config looks good. But it seems that Portainer tries to connect to unix:///var/run/docker.sock instead of the proxy. How do the log entries of the socket proxy container look? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, I see this every hour:
Then this section repeats every 5 min:
As soon as I open the logs via Portainer I see these two lines:
As long as I have the log open in Portainer (with the auto-refresh enabled) this line repeats every 3 sec:
I looked at the Portainer log again and the warning stops at 21:38 and started again at 06:57 and was repeated until 07:08 with irregular intervals. That's when I logged in this morning and looked at the log files for socket_proxy. (The times are 2h behind in the logs for some reason). /Björn |
Beta Was this translation helpful? Give feedback.
All reactions
-
Looks good, the communication seems to work. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I installed Portainer with a similar configuration on my test server. Everything works as it should, but yes I can confirm the |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for checking. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying this out with a Portainer container and it looks like everything is working, I can access Portainer and see the containers etc. But when I look in the Portainer container log file I see this repeated warning:
WRN github.com/portainer/portainer/api/platform/platform.go:70 > failed to retrieve docker info | error="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
My docker-compose.yml:
I allow all using the
=.*
because I want to figure out how to write the correct regexp needed. I don't really understand those expressions yet :)Is this warning something to care about or should I just ignore it?
Beta Was this translation helpful? Give feedback.
All reactions