CmdID / docker / docker compose
docker compose down
Stops containers and removes containers, networks, volumes, and images created by up. Docker Compose reference
5 options Its page in the Docker Compose reference
Options
--dry-runExecute command in dry run mode--remove-orphansRemove containers for services not defined in the Compose file--rmiRemove images used by services.--timeout, -tSpecify a shutdown timeout in seconds--volumes, -vRemove named volumes declared in the "volumes" section of the Compose file and anonymous volumes attached to containers