Remove Docker Images, Containers, and Volumes

While using data volume containers, you have to remove container with -v flag as docker rm -v. If you don’t use the -v flag, the volume will end up as a dangling volume and remain in to the local disk

To delete all dangling volumes, use the following command
docker volume rm `docker volume ls -q -f dangling=true`

Về GauDev

Tôi là Gau Dev - thích viết lách, tìm hiểu công nghệ mới và không ngừng học hỏi!
Xem tất cả các bài viết của GauDev →