So Docker tends to leave alot of things around and you can end up with insufficient space. Here are two commands you can run to keep your Docker environment clean.
|
$ docker volume rm $(docker volume ls -qf dangling=true) $ docker rmi $(docker images | grep "^" | awk "{print $3}") |
The first command removes any dangling volumes. The second command removes any images that are of no use to you.