$ docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Course url: https://linuxacademy.com/containers/training/course/name/docker-deep-dive-part-1 | |
==================== All Docker Command While Learning Docker ========================= | |
Get a list of all of the Docker commands: | |
docker -h | |
====== Attaching to Container , run in background , name it ========== | |
Create a container and attach to it: |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm