Docker Community Forums

Share and learn in the Docker community.

18.03.1-ce Swarm not respondind when docker daemon is restarted

We are using 18.03.1-ce docker for our project. When docker daemon is restated swarm is not responding.

ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
xxxxxxx xxxxxxx Ready Down Leader 18.03.1-ce

When i try to give swam leave --force. I get the below error
context deadline exceeded

No swarm commands are working. When I inspect docker custom network there are no entries in it.

When I change the docker home directory and restart everything comes up. is there any solution to fix this without changing docker home directory?