prune
Call it The GCDLADB if you like.
Resetting Docker 1 min read Jul 27, 2019 | Updated: Jul 31, 2019 13:59
This command snippet needs a blog post of its own! I typically use the following command stream to clean up any Docker cruft before I begin anew. Note: Uncomment the third line ONLY if you want to delete images and download new ones. If you do, be patient, it could take several minutes depending on connection speed. Workstation Commands docker stop $(docker ps -q) docker rm -v $(docker ps -qa) # docker image rm $(docker image ls -q) docker system prune –force And that’s a wrap. ...