docker compose -f /opt/mailcow-dockerized/docker-compose.yml up -d --remove-orphans

Category: Mail Servers & Postfix

docker compose -f /opt/mailcow-dockerized/docker-compose.yml up -d --remove-orphans

Start Mailcow and remove orphan containers

up -d creates or starts every service defined in the compose file. --remove-orphans deletes containers not defined in the current file, cleaning up leftovers from renamed or removed services. Combined with a fresh git pull this is the standard Mailcow update startup step.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.