mailcow-dockerized-docs/docs/i_u_m/i_u_m_deinstall.en.md
Niklas Meyer 5c1c263e46 Revert "Compose v2"
This reverts commit 423f24f6f2.
2022-06-01 15:39:27 +02:00

12 Zeilen
691 B
Markdown

To remove mailcow: dockerized with all it's volumes, images and containers do:
```
docker-compose down -v --rmi all --remove-orphans
```
!!! info
- **-v** Remove named volumes declared in the `volumes` section of the Compose file and anonymous volumes attached to containers.
- **--rmi <type>** 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 `image` field.
- **--remove-orphans** Remove containers for services not defined in the compose file.
- By default `docker-compose down` only removes currently active containers and networks defined in the `docker-compose.yml`.