Category: Docker

docker 0

Delete unused docker images

You usu­ally have to clear unused docker images oth­er­wise it will eat up all your disk space. I real­ized this when i got an error ERROR: Failed to cre­ate usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore: No space left on…

docker 0

How to completely uninstall docker from ubuntu

If you need a fresh start and com­pletely unin­stall docker, just run the fol­low­ing com­mands[source]. sudo apt-get purge docker-engine sudo apt-get autore­move –purge docker-engine rm –rf /var/lib/docker # This deletes all images, con­tain­ers, and…

docker 0

Docker cheatsheet

List the cur­rently run­ning docker con­tain­ers docker ps List all the docker con­tain­ers that have run so far docker ps –a Run shell com­mands in a docker con­tainer (aka. inter­ac­tive ter­mi­nal) docker run –it imageName…