Files
docker-cli/components/engine/integration-cli
Thomas Orozco f3c864f896 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>

Conflicts:
	integration-cli/docker_cli_start_test.go
		cli integration test
Upstream-commit: 967f80f3cceb96f85a4795d42eeb7b84ae0ce24a
Component: engine
2014-11-12 00:14:04 +02: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-10-20 19:11:44 -04:00
2014-10-20 19:11:44 -04:00
2014-10-20 19:11:44 -04:00
2014-06-02 07:05:06 +00:00
2014-10-07 19:37:08 -07:00