mailcow-dockerized-docs/docs/getting-started/i_u_m_deinstall.en.md

19 Zeilen
849 B
Markdown

2022-01-29 20:07:02 +01:00
To remove mailcow: dockerized with all it's volumes, images and containers do:
2022-12-15 15:31:09 +01:00
=== "docker compose (Plugin)"
2022-01-29 20:07:02 +01:00
2022-12-14 22:09:09 +01:00
``` bash
docker compose down -v --rmi all --remove-orphans
```
2022-12-15 15:31:09 +01:00
=== "docker-compose (Standalone)"
2022-12-14 22:09:09 +01:00
``` bash
docker-compose down -v --rmi all --remove-orphans
```
2022-01-29 20:07:02 +01:00
!!! 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.
2022-09-01 09:33:47 +02:00
- By default `docker compose down` only removes currently active containers and networks defined in the `docker-compose.yml`.