To remove mailcow: dockerized with all it's volumes, images and containers do:
docker compose down -v --rmi all --remove-orphans
docker-compose down -v --rmi all --remove-orphans
- -v Remove named volumes declared in the
volumessection of the Compose file and anonymous volumes attached to containers.
Remove images. Type must be one of:
all: Remove all images used by any service.
local: Remove only images that don't have a custom tag set by the
- --remove-orphans Remove containers for services not defined in the compose file.
- By default
docker compose downonly removes currently active containers and networks defined in the
Last update: 2022-12-15 15:31:09