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.