DEV Community

Pheak Pheasa
Pheak Pheasa

Posted on

សម្រាប់លុបអ្វីៗទាំង អស់ ក្នុង Docker compose.

docker compose down --volumes --rmi all
OR
docker-compose down --rmi all -v

The -v (or --volumes) flag instructs docker-compose down to remove all volumes linked to the services defined in your docker-compose.yml file.

Top comments (0)