mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
volumes.Get was not checking for symlinked paths meanwhile when adding a new volume it was following the symlink. So when trying to use a bind-mount that is a symlink, the volume is added with the correct path, but when another container tries to use the same volume it got a "Volume exists" error because volumes.Get returned nil and as such attempted to create a new volume. Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83) Upstream-commit: 882223c0f8a55c2011277aba08f1487a2930c075 Component: engine