Table of Content
Docker is a very useful software for containerizing our application and services.
However, it comes with its con of consuming a lot of space and if not properly checked, you may have a lot of unused images and containers clogging up your storage real estate.
This gets particular worse in MacOS given that the files may be completely hidden in a plethora of system directories, making it difficult to remove docker by simply uninstalling it.
Here is how you can delete docker completely from your computer using the mac terminal:
Open a new Mac terminal window and run the commands one after the other.
A huge thanks to one of our readers, Christian Gambardella, for pointing out an important error and suggesting a fix.
And that's all there is to it.
If you learned from this tutorial, or it helped you in any way, please consider sharing and subscribing to our newsletter.