docs/integration-cli
Thomas Orozco fb62e18441 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>
2014-11-10 17:32:16 +01:00
..
MAINTAINERS Fix format in maintainers files 2014-06-02 07:05:06 +00:00
docker_api_containers_test.go Fix racy integration tests 2014-10-21 22:51:09 +00:00
docker_api_inspect_test.go Cleanup errorOut resp in inspect tests 2014-10-16 15:06:19 -07:00
docker_api_resize_test.go Allowing resize tty to only work when container is started 2014-10-23 21:31:34 +00:00
docker_cli_attach_test.go Use prefix naming for attach tests 2014-09-19 21:56:25 +04:00
docker_cli_build_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_commit_test.go archive: preserve hardlinks in Tar and Untar 2014-10-29 14:52:52 -04:00
docker_cli_cp_test.go Make container.Copy support volumes 2014-10-20 20:23:01 -04:00
docker_cli_create_test.go Cleanup errorOut resp in create test 2014-10-16 15:05:00 -07:00
docker_cli_daemon_test.go Add test for #8307. 2014-10-29 10:59:20 -07:00
docker_cli_diff_test.go Cleanup errorOut resp in diff test 2014-10-16 15:05:00 -07:00
docker_cli_events_test.go Add import/pull events to the stream 2014-11-06 12:12:41 -08:00
docker_cli_exec_test.go Close stdin after execution with `docker exec -i` 2014-11-05 15:12:24 -08:00
docker_cli_export_import_test.go Cleanup errorOut resp in export test 2014-10-16 15:05:00 -07:00
docker_cli_history_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_images_test.go Cleanup errorOut resp in images tests 2014-10-16 15:06:20 -07:00
docker_cli_import_test.go integcli: lint fixes 2014-10-06 23:15:17 +03:00
docker_cli_info_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_inspect_test.go Cleanup errorOut resp in inspect tests 2014-10-16 15:06:19 -07:00
docker_cli_kill_test.go Cleanup errorOut resp in kill test 2014-10-16 15:05:00 -07:00
docker_cli_links_test.go Cleanup errorOut resp in links test 2014-10-16 15:05:00 -07:00
docker_cli_logs_test.go Fix panic on slow log consumer. 2014-10-30 22:24:57 +02:00
docker_cli_nat_test.go Cleanup errorOut resp in nat test 2014-10-16 15:05:00 -07:00
docker_cli_port_test.go Cleanup errorOut resp in port test 2014-10-16 15:05:00 -07:00
docker_cli_ps_test.go Fix deadlock in ps exited filter 2014-11-03 10:51:03 -08:00
docker_cli_pull_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_push_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_restart_test.go Cleanup errorOut resp restart tests 2014-10-16 15:06:20 -07:00
docker_cli_rm_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_rmi_test.go Cleanup errorOut resp in rmi tests 2014-10-16 15:06:20 -07:00
docker_cli_run_test.go See #8379 - if the container doesn't start I added code to make sure that if no other processing sets the container.exitCode to a non-zero value when we make sure its done before we return. I also made sure that while trying to start the CMD/ENTRYPOINT, if it fails, then we set the container.exitCode to the exitStatus from the exec(). 2014-11-05 18:23:42 -08:00
docker_cli_save_load_test.go Merge pull request #8321 from erikh/ui_save_output 2014-10-24 19:37:14 -04:00
docker_cli_search_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_start_test.go Fix: Failed Start breaks VolumesFrom 2014-11-10 17:32:16 +01:00
docker_cli_tag_test.go Merge pull request #8511 from coolljt0725/fix_tag 2014-10-20 14:32:23 -07:00
docker_cli_top_test.go Cleanup errorOut resp in top tests 2014-10-16 15:06:20 -07:00
docker_cli_version_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_test_vars.go Clean volume paths 2014-10-20 19:07:56 -04:00
docker_utils.go Allowing resize tty to only work when container is started 2014-10-23 21:31:34 +00:00
utils.go Generalize consumeSlow and add stop support 2014-10-30 21:11:33 +02:00