It seems my server ran out of space and I was having some problems with some of the deployed docker stacks. Took me a while to figure it out, but eventually I did and removed a couple of containers and images to free some space.
I was able to run service docker restart
and it worked. However, there are some problems:
docker info
says the swarm is "Pending"docker node ls
shows the only node I have (Leader), it isavailable
but it isdown
journalctl -f -u docker
says `level=error msg="error removing task " error="incompatible value module=node/agent/worker node.id="
When running docker service ls
, all services have 0/1
replicas.
This is the status when running docker node ls
"Status": {
"State": "down",
"Message": "heartbeat failure for node in \"unknown\" state",
"Addr": "<ip and port>"
},
"ManagerStatus": {
"Leader": true,
"Reachability": "reachable",
"Addr": "<ip and port>"
}
How can I get my services running again?