docker commands cheat sheet

Tags: docker

show container with friendly format

$ docker ps -a --format="table {{.ID}}\t{{.Names}}"

List Docker volume

$ docker volume ls

Inspect name volume

$ docker volume inspect oracle-data  

!!! To locate actual folder on Windows machine

When running Linux based containers on a Windows host, the actual volumes will be stored within the Linux VM and will not be available on the host's file system.