Reputation: 1043
I'm learning Docker. But I'm a little bit confused with the conception between Volume and Volume Container.
What is the relationship between them? In which case should I use Volume or Volume Container?
Anyone can help to clarify it?
Upvotes: 1
Views: 502
Reputation: 1325155
Before 1.9, data volume container was the only way to create a volume, but that volume was invisible once the container was removed.
In an effort to make volumes more visible and first-class citizen, PR 14242 was introduced and you can now create/list volumes without having to create a container.
Upvotes: 2