You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running Portainer Agent on a Raspberry Pi 3B+ and the agent runs fine for a day or so, connected to another Raspberry Pi running full on Portainer. After a few hours I lose connectivity to the agents and, looking at the logs, the agent container won't start on the agents. the log is filled with: 2020/08/27 12:37:51 [INFO] [main] [message: Agent running on Docker platform] 2020/08/27 12:37:52 [ERROR] [main,docker] [message: Unable to retrieve local agent IP address] [error: Error: No such container: ae155be1dd72]
Deleting the volume and recreating the container makes it connect back as expected.
I am running Watchtower on the hosts to keep the containers up to date, the agents all drop off at roughly the same time so it may be an update on the agent.
I created the container with the following command: docker create -p 9001:9001 --name portainer_agent --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent
Can anyone advise please?
The text was updated successfully, but these errors were encountered:
Hi all
I am running Portainer Agent on a Raspberry Pi 3B+ and the agent runs fine for a day or so, connected to another Raspberry Pi running full on Portainer. After a few hours I lose connectivity to the agents and, looking at the logs, the agent container won't start on the agents. the log is filled with:
2020/08/27 12:37:51 [INFO] [main] [message: Agent running on Docker platform]
2020/08/27 12:37:52 [ERROR] [main,docker] [message: Unable to retrieve local agent IP address] [error: Error: No such container: ae155be1dd72]
Deleting the volume and recreating the container makes it connect back as expected.
I am running Watchtower on the hosts to keep the containers up to date, the agents all drop off at roughly the same time so it may be an update on the agent.
I created the container with the following command:
docker create -p 9001:9001 --name portainer_agent --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent
Can anyone advise please?
The text was updated successfully, but these errors were encountered: