Files
docker-cli/components/engine/integration-cli
Thomas Orozco 507970cff9 Fix: Failed Start breaks VolumesFrom
Running parseVolumesFromSpec on all VolumesFrom specs before initialize
any mounts endures that we don't leave container.Volumes in an
inconsistent (partially initialized) if one of out mount groups is not
available (e.g. the container we're trying to mount from does not
exist).

Keeping container.Volumes in a consistent state ensures that next time
we Start() the container, it'll run prepareVolumes() again.

The attached test demonstrates that when a container fails to start due
to a missing container specified in VolumesFrom, it "remembers" a Volume
that worked.

Fixes: #8726

Signed-off-by: Thomas Orozco <thomas@orozco.fr>
Upstream-commit: fb62e184412b6d2bf38975a7051738f05b1f413d
Component: engine
2014-11-10 17:32:16 +01:00
..
2014-11-05 08:26:22 -08:00
2014-10-29 10:59:20 -07:00
2014-11-05 08:26:22 -08:00
2014-10-06 23:15:17 +03:00
2014-11-05 08:26:22 -08:00
2014-11-05 08:26:22 -08:00
2014-11-05 08:26:22 -08:00
2014-11-05 08:26:22 -08:00
2014-11-05 08:26:22 -08:00
2014-11-05 08:26:22 -08:00
2014-10-20 19:07:56 -04:00
2014-06-02 07:05:06 +00:00