Category Archives: Docker

How to find out the location where Docker stores the images on MacOS

By | January 17, 2020

In Docker preferences, select “Disk” and you’ll see the disk image location. You’ll also see the allocated image size and the amount used as well. The location for me was: /Users/sean/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw (Sometimes it the extension can be .qcow2 as well) Other locations for previous versions and other OS’s are: /Users/MyUserName/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 $HOME/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 /Users/USERNAME/.docker/machine/machines

Docker Useful Commands

By | December 28, 2019

Images List: docker images -a Remove: docker rmi Image Image Remove all images: docker rmi $(docker images -a -q) Containers List: docker ps -a Remove: docker rm ID_or_Name ID_or_Name Stop all containers: docker stop $(docker ps -a -q) Remove all containers: docker rm $(docker ps -a -q) Volumes List: docker volume ls Remove: docker volume… Read More »

OSX Cannot connect to the Docker daemon. Is the docker daemon running on this host?

By | September 19, 2016

On a Mac, there are 2 ways to start docker. In a terminal, you can type >> docker-machine start cloudnthings:~ cloudnthings$ docker-machine start Starting “default”… (default) Check network to re-create if needed… (default) Waiting for an IP… Machine “default” was started. Waiting for SSH to be available… Detecting the provisioner… Started machines may have new… Read More »

Docker Toolbox v Docker for Mac

By | July 25, 2016

If you haven’t heard already, Docker for Mac has been out for since mid June allowing Docker to run natively in OSX without having to install Oracle Virtual Box which in turn provides a linux environment for Docker to run on. If you have Docker Tool box installed, you can uninstall it in a few… Read More »