Command Details

$ docker-compose down

Stop and remove containers, networks, and volumes defined in a docker-compose.yml.

Related Commands

  • $ docker-compose down -vRemove volumes along with containers.
  • $ docker-compose down --rmi allRemove images along with containers.
  • $ docker-compose down --remove-orphansRemove containers for services not defined in the Compose file.