I was installing a docker based tar file on my Windows7-64bit system using Docker
quickstart
Terminal.
docker load -i some_docker_image.tar
The command did some processing silently and flash an output:
Error response from daemon: Untar re-exec error: exit status 1: output:
write /usr/include/c++/4.4.4/gnu/java/net/protocol/http/Handler.h: no space left on device
How to clean the partially installed tar package to cleanup hard-disk space that is unnecessarily occupied?
A stopped container's writable layers still take up disk space. To clean this up, you can use the docker container prune command. By default, you are prompted to continue. To bypass the prompt, use the -f or --force flag.
By default, if an out-of-memory (OOM) error occurs, the kernel kills processes in a container.
Start by cleaning dangling images:
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
First, make sure all your containers are stopped and removed: check the state with a docker ps -a
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With