Handy little snippet to show Docker container ID's
1for container in $(docker ps --all --quiet --format '{{ .Names }}'); do
2echo "$(docker inspect $container --format '{{.GraphDriver.Data.MergedDir }}' | sed 's#/\\([^az]*\\)\\.*$##' ) = $container"
3done