Files
docker-cli/components/engine/daemon
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-08-01 14:24:46 -04:00
2014-08-01 14:17:24 -04:00
2014-08-01 14:24:41 -04:00
2014-08-13 15:18:15 -07:00
2014-09-30 19:10:03 +00:00
2014-08-06 10:08:19 +00:00
2014-08-13 15:18:15 -07:00
2014-08-06 10:08:19 +00:00
2014-09-29 20:11:19 -07:00
2014-09-22 18:57:28 +03:00
2014-08-06 10:08:19 +00:00
2014-05-17 17:56:02 +00:00
2014-08-06 10:08:19 +00:00
2014-08-13 11:37:30 +04:00
2014-09-29 20:11:19 -07:00
2014-09-03 00:01:11 +04:00
2014-09-03 00:01:11 +04:00
2014-09-29 22:40:26 +00:00

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver
  • networkdriver

Code pertaining to storing images:

  • graphdriver