docker compose up --remove-orphans

Category: Docker

docker compose up --remove-orphans

Remove containers for services no longer in compose.yaml

Also removes containers for services that are in compose but not in the current compose file.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.