Docker CheatsheetWed Jul 14 2021
If I need to look up multiple times, I should just record it in my own cheatsheet.
$ docker images | grep "node"
quick node images does docker have
$ docker pull node:12
pull latest images for node 12
$ docker stats
see machine stats while running docker commands
If docker throws memory errors du -sh ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw
then rm ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw
to clear memory
docker-compose -f docker-compose-local.yml up -d
launch docker
`docker volume prune` Clear Docker Cache