cheatsheet.md
14 Feb 2017 | dockerRemove all stopped containers.
docker rm $(docker ps -a -q)
Remove all untagged images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
Exiting docker container without killing it
- run docker container in detach mode ā-dā
- attach container
- ctrl p + ctrl q
Comments