mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![]() 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 |
||
---|---|---|
.. | ||
build_tests/TestCopy | ||
docker_api_inspect_test.go | ||
docker_cli_attach_test.go | ||
docker_cli_build_test.go | ||
docker_cli_commit_test.go | ||
docker_cli_cp_test.go | ||
docker_cli_create_test.go | ||
docker_cli_daemon_test.go | ||
docker_cli_diff_test.go | ||
docker_cli_events_test.go | ||
docker_cli_exec_test.go | ||
docker_cli_export_import_test.go | ||
docker_cli_history_test.go | ||
docker_cli_images_test.go | ||
docker_cli_import_test.go | ||
docker_cli_info_test.go | ||
docker_cli_inspect_test.go | ||
docker_cli_kill_test.go | ||
docker_cli_links_test.go | ||
docker_cli_logs_test.go | ||
docker_cli_nat_test.go | ||
docker_cli_port_test.go | ||
docker_cli_ps_test.go | ||
docker_cli_pull_test.go | ||
docker_cli_push_test.go | ||
docker_cli_restart_test.go | ||
docker_cli_rm_test.go | ||
docker_cli_rmi_test.go | ||
docker_cli_run_test.go | ||
docker_cli_save_load_test.go | ||
docker_cli_search_test.go | ||
docker_cli_start_test.go | ||
docker_cli_tag_test.go | ||
docker_cli_top_test.go | ||
docker_cli_version_test.go | ||
docker_test_vars.go | ||
docker_utils.go | ||
MAINTAINERS | ||
utils.go |