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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay