Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hmnhf/58bb3ab961be8d845c98fbe1d0802d15 to your computer and use it in GitHub Desktop.
Save hmnhf/58bb3ab961be8d845c98fbe1d0802d15 to your computer and use it in GitHub Desktop.
Docker node is missing network attachments, ip addresses may be exhausted, no suitable node
  • See caprover/caprover#619 (comment)

  • If your Docker services don't start after an unexpected reboot and you get these errors, try the following fix.

    • Docker node is missing network attachments, ip addresses may be exhausted
    • No suitable node (1 node not available for new tasks)
sudo systemctl stop docker
sudo rm /var/lib/docker/swarm/worker/tasks.db
sudo systemctl start docker
@notpushkin
Copy link

notpushkin commented Mar 25, 2023

This helped, thanks a lot!

I'm wondering though why does it work for Docker node is missing network attachments, ip addresses may be exhausted 🤔
Neither caprover/caprover#619 (comment) nor moby/moby#34827 mention anything about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment