'Docker "No such container" after reboot
After my server rebooted, docker containers are still present in /var/lib/docker/containers but don't appear in docker ps -a and cannot be started by ID. Essentially, the data seems to exist but docker doesn't know it's there and/or doesn't know how to start it. For the record, the server is running Alpine Linux.
I tried calling docker start directly with the ID of a container and this was the output:
hostname:~# docker start 1d896bb6aa3b224fbfcaae92ad309bd99de5115fd557195ba309d760e729eac6/
Error response from daemon: No such container: 1d896bb6aa3b224fbfcaae92ad309bd99de5115fd557195ba309d760e729eac6
Error: failed to start containers: 1d896bb6aa3b224fbfcaae92ad309bd99de5115fd557195ba309d760e729eac6/
I've also tried creating new containers to see if they can be used and new containers seem to work fine, just the old ones are messed up.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
