Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Multiprocessing Issues in Docker¶
Docker Out of Disk Space¶
What to Do When Docker on the Mac Runs Out of Space
Docker fail to register layer ... no such file or directory¶
Remove
/var/lib/docker/*.:::bash sudo rm -rf /var/lib/docker/*If you have a non-standard Docker location configured, then rmeove that location instead.
Restart Docker.
:::bash sudo service docker restart
Error response from daemon: failed to start shim: exec: “docker-containerd-shim”: executable file not found in $PATH: unknown.¶
Restart docker resolves the issue.
:::bash
sudo service docker restartError saving credentials: error storing credentials in Ubuntu 18.04 LTS¶
Installing gnupg2 and pass fixes the issue.
:::bash
wajig install gnupg2 passContainer exits with non-zero exit code 137¶
Please refer to The Non-Zero Exit Code 137 While Building a Docker Image for more details.
Debuging Docker Container Exit¶
List Docker container IDs.
:::bash docker ps -aCheck logs of a Docker container.
:::bash docker logs container_idInspect a Docker container.
:::bash docker inspect container_id
If the above does not help you identify the cause of Docker container exit,
you can inspect the logs of the Docker daemon.
The StackOverflow question
Where is the Docker daemon log?
has a good discussion on where/how to find Docker daemon logs.
In case you need to figure out which init system your Linux OS is using,
please refer to the post
Check Whether a Linux Is Using Upstart Systemd or SysV
.
Why Does My Docker Container Stop?