mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Fixes #9981 Allows a volume which was created by docker (ie, in /var/lib/docker/vfs/dir) to be used as a Bind argument via the container start API and overwrite an existing volume. For example: ```bash docker create -v /foo --name one docker create -v /foo --name two ``` This allows the volume from `one` to be passed into the container start API as a bind to `two`, and it will overwrite it. This was possible before 7107898d5cf0f86dc1c6dab29e9dbdad3edc9411 Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: 49e1ad49c8fe0a6fbb7cba67cc030ef73125dcc7 Component: engine