docker compose down --remove-orphans

Category: Docker

docker compose down --remove-orphans

Also remove orphaned containers not in current compose file

Also removes containers that were created by a previous compose version but aren't in the current file.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.