What will `docker-compose down --volumes` do?

  1. Remove containers only
  2. Remove containers and networks
  3. Remove containers, networks, and volumes
  4. Only stop the services
Correct answer Remove containers, networks, and volumes

Explanation

`docker-compose down --volumes` removes everything including volumes.

Update: Admin added a tag on this question

Topics

By Admin · · 38 views