Quickly learn How to remove a Docker volume with connected containers with WhaleDeck Shorts. Clear, step-by-step guides for Docker.
The answer is quite simple. The following command shows how to remove the Docker volume my_volume while the volume is still in use by containers.
docker volume rm -f my_volume