If I understand correctly where things are going, the data volumes (created with e.g. “docker create volume --name vc_xxx”) should be preferred over the data-only volume containers. Correct me if I’m wrong on this, of course
If that’s the case, then I think some usages have to change… For instance, I used to have a small bash function to remove the dangling volumes :
docker volume rm $(docker volume ls -qf dangling=true)
but (again, if I get it straight) by definition the data volume are dangling, aren’t they ?
Then the above function becomes quite dangerous …
So I guess the question would be if there’s a way to “protect” somehow the data volume from unwanted deletion…