The documentation for docker volumes (found here: https://docs.docker.com/engine/userguide/containers/dockervolumes/) is woefully out of date.
Since docker 1.9 includes top-level volume subcommands, and support for volume plugins, this documentation should be updated to reflect these new features.
It should also de-emphasize data-only containers as these are no longer considered a recommended pattern.
In the mean time, where can I learn about the docker volume command and how to use it?
@AriaFallah https://docs.docker.com/engine/tutorials/dockervolumes/ does document at least some of the functionality of docker volume
At least this section needs to be updated i guess https://docs.docker.com/engine/tutorials/dockervolumes/#/creating-and-mounting-a-data-volume-container ... please notice that this already leads to issues / misconceptions like http://stackoverflow.com/questions/39013222/data-container-with-named-or-anonymous-volumes-conceptual-problems-discuss .. it would be great to get this fixed
bug 1218563: Use named volume for mysql container
Instead of a data container, create and use a named volume to store the
MySQL database. The Docker community suggests this method, but the
Docker docs still suggest data-only containers.
Reviving this issue as I believe the present doc is quite misleading. It took me a while to understand the present-day situation.