Files
docker-cli/components/engine/integration-cli
Brian Goff a61100d91a Fixes re-creating volume on (re)start
When a container is restarted all the volume configs are parsed again.
Even if the volume was already handled in a previous start it was still
calling "FindOrCreateVolume" on the volume repo causing a new volume to
be created.

This wasn't being detected because as part of the mount initialization
it checks to see if the the _mount_ was already initialized, but this
happens after the parsing of the configs.
So a check is added during parsing to skip a volume which was already
created for that container.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: c985302c5c2fb6d922acf29106b550cb36faaab6
Component: engine
2014-10-08 16:25:51 -04:00
..
2014-10-06 23:15:17 +03:00
2014-10-06 23:15:17 +03:00
2014-10-06 23:15:17 +03:00
2014-10-06 23:15:17 +03:00
2014-10-06 23:15:17 +03:00
2014-10-06 23:15:17 +03:00
2014-10-06 18:18:25 +00:00
2014-09-26 11:31:02 -04:00
2014-06-02 07:05:06 +00:00
2014-10-07 19:37:08 -07:00