Docker compose down with volumes
Stop and remove containers, networks, and volumes
docker compose down -v
- tool
- docker46 commands
More docker commands
-
docker system df -vDetailed breakdown of disk usage per image, container, volume
-
docker exec -it -u root <container> bashEnter container as root even if default user is non-root
-
docker cp ./local-file.conf <container>:/etc/app/config.confInject a file into a running container without rebuild
-
docker load < img.tar.gzImport an image exported with docker save
-
docker exec -it registry bin/registry garbage-collect /etc/docker/registry/config.ymlFree disk space in a self-hosted Docker Registry