docker / for-linux

Docker Engine for Linux
https://docs.docker.com/engine/installation/
754 stars 85 forks source link

Docker Swarm Is Frequently Restarting Docker Services #971

Open amirakhan opened 4 years ago

amirakhan commented 4 years ago

Expected behavior

After OS and Kernel upgrade Docker swarm is keep on restarting the docker services randomly not the independent container having the same issues

Actual behavior

Steps to reproduce the behavior

The services run fine for sometime and randomly gets restarted and it is the case with all the services.

Output of docker version: Docker version 18.09.0, Build 4d60db4

(paste your output here)

Output of docker info:

(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.) it is physical servers having OS redhat linux 7.7 (Maipo) with Kernel version 3.10.0-1062.12.1.e17.x86_64

Error: Portainer Service Logs: portainer_portainer.1.xeuo863kmzsq@dekns1dr | 2020/04/05 01:04:00 background schedule error (endpoint snapshot). Unable to create snapshot (endpoint=primary, URL=tcp://tasks.agent:9001) (err=Cannot connect to the Docker daemon at tcp://tasks.agent:9001. Is the docker daemon running?) portainer_portainer.1.xeuo863kmzsq@dekns1dr | 2020/04/05 01:09:00 background schedule error (endpoint snapshot). Unable to create snapshot (endpoint=primary, URL=tcp://tasks.agent:9001) (err=Cannot connect to the Docker daemon at tcp://tasks.agent:9001. Is the docker daemon running?) portainer_portainer.1.xeuo863kmzsq@dekns1dr | 2020/04/05 01:18:40 background schedule error (endpoint snapshot). Unable to create snapshot (endpoint=primary, URL=tcp://tasks.agent:9001) (err=Error response from daemon: ) portainer_portainer.1.xeuo863kmzsq@dekns1dr | 2020/04/05 01:23:40 background schedule error (endpoint snapshot). Unable to create snapshot (endpoint=primary, URL=tcp://tasks.agent:9001) (err=Error response from daemon: ) portainer_portainer.1.xeuo863kmzsq@dekns1dr | 2020/04/05 01:29:00 background schedule error (endpoint snapshot). Unable to create snapshot (endpoint=primary, URL=tcp://tasks.agent:9001) (err=Cannot connect to the Docker daemon at tcp://tasks.agent:9001. Is the docker daemon running?) portainer_portainer.1.xeuo863kmzsq@dekns1dr | 2020/04/05 01:33:40 background schedule error (endpoint snapshot). Unable to create snapshot (endpoint=primary, URL=tcp://tasks.agent:9001) (err=Error response from daemon: )

amirakhan commented 4 years ago

Docker Nodes Docker Node Status

amirakhan commented 4 years ago

Portainer Status Portainer Status