Docker command cheet sheet
Docker-compose usage
https://docs.docker.com/compose/reference/rm/
# -d run in background
docker-compose up -d
# shut down
docker-compose down
# update docker image
docker-compose pull
# get logs of current container
docker-compose logs -f
docker-compose rm
# Usage: rm [options] [SERVICE...]
# Options:
# -f, --force Don't ask to confirm removal
# -s, --stop Stop the containers, if required, before removing
# -v Remove any anonymous volumes attached to containers
Delete caches
https://docs.docker.com/engine/reference/commandline/builder_prune/
https://forums.docker.com/t/how-to-delete-cache/5753/5
https://linuxize.com/post/how-to-remove-docker-images-containers-volumes-and-networks/
# delete docker build cache
docker builder prune
# delete all docker cache
docker system prune -a