moby--moby/integration-cli
Jana Radhakrishnan 9bb69f9726 Fix endpoint leave failure for --net=host mode
When a container is started with `--net=host` with
a particular name and it is subsequently destroyed,
then all subsequent creations of the container with
the same name will fail. This is because in `--net=host`
the namespace is shared i.e the host namespace so
trying to destroy the host namespace by calling
`LeaveAll` will fail and the endpoint is left with
the dangling state. So the fix is, for this mode, do
not attempt to destroy the namespace but just cleanup
the endpoint state and return.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2015-06-24 12:33:52 -07:00
..
fixtures/https
check_test.go Remove timer and use -check.v for tests formatting 2015-06-18 14:22:40 -07:00
docker_api_attach_test.go Update vendored go.net to use golang.org/x/net canonical path 2015-06-16 11:40:04 -04:00
docker_api_containers_test.go Support downloading remote tarball contexts in builder jobs. 2015-06-19 16:35:00 -03:00
docker_api_exec_resize_test.go
docker_api_exec_test.go
docker_api_images_test.go
docker_api_info_test.go
docker_api_inspect_test.go docker-inspect: Extend docker inspect to export image/container metadata related to graph driver 2015-06-15 14:05:10 -04:00
docker_api_logs_test.go
docker_api_network_test.go register libnetwork API and UI with docker parent chain 2015-06-18 12:07:58 -07:00
docker_api_resize_test.go
docker_api_service_test.go attaching services api and UI chain to docker parent 2015-06-19 09:19:09 -07:00
docker_api_stats_test.go fix the goroutine leak in the stats API if the container is not running 2015-06-23 19:38:15 +08:00
docker_api_test.go Error out if client API version is too old 2015-06-18 11:03:07 +02:00
docker_api_version_test.go
docker_cli_attach_test.go
docker_cli_attach_unix_test.go
docker_cli_build_test.go Support downloading remote tarball contexts in builder jobs. 2015-06-19 16:35:00 -03:00
docker_cli_build_unix_test.go
docker_cli_by_digest_test.go
docker_cli_commit_test.go
docker_cli_config_test.go
docker_cli_cp_test.go
docker_cli_create_test.go
docker_cli_daemon_experimental_test.go Vendoring in libnetwork for native multihost networking 2015-06-22 04:15:41 -07:00
docker_cli_daemon_test.go Fix DOCKER_TLS_VERIFY being ignored 2015-06-16 12:04:00 -04:00
docker_cli_diff_test.go
docker_cli_events_test.go Default events since to current time 2015-06-10 12:37:40 -04:00
docker_cli_events_unix_test.go
docker_cli_exec_test.go TestExecStopNotHanging: log output as string 2015-06-11 22:53:55 -04:00
docker_cli_exec_unix_test.go
docker_cli_experimental_test.go
docker_cli_export_import_test.go
docker_cli_help_test.go api/client: Allow for multi-line usage help 2015-06-10 16:14:45 -07:00
docker_cli_history_test.go
docker_cli_images_test.go
docker_cli_import_test.go work on #11094 allow import from local file 2015-06-20 09:04:43 +02:00
docker_cli_info_test.go
docker_cli_inspect_test.go docker-inspect: Extend docker inspect to export image/container metadata related to graph driver 2015-06-15 14:05:10 -04:00
docker_cli_kill_test.go Merge pull request #12371 from rhatdan/kill 2015-06-10 08:32:57 -07:00
docker_cli_links_test.go
docker_cli_login_test.go
docker_cli_logs_test.go
docker_cli_nat_test.go Vendoring in libnetwork to fix #13873. 2015-06-12 04:58:37 -07:00
docker_cli_network_test.go Support for --publish-service flag in docker run 2015-06-20 11:03:38 -07:00
docker_cli_pause_test.go
docker_cli_port_test.go
docker_cli_proxy_test.go
docker_cli_ps_test.go
docker_cli_pull_test.go
docker_cli_push_test.go
docker_cli_rename_test.go
docker_cli_restart_test.go
docker_cli_rm_test.go
docker_cli_rmi_test.go
docker_cli_run_test.go Fix endpoint leave failure for --net=host mode 2015-06-24 12:33:52 -07:00
docker_cli_run_unix_test.go
docker_cli_save_load_test.go
docker_cli_save_load_unix_test.go
docker_cli_search_test.go api/client: Allow for multi-line usage help 2015-06-10 16:14:45 -07:00
docker_cli_service_test.go Support for --publish-service flag in docker run 2015-06-20 11:03:38 -07:00
docker_cli_start_test.go
docker_cli_start_volume_driver_unix_test.go Remove timer and use -check.v for tests formatting 2015-06-18 14:22:40 -07:00
docker_cli_stats_test.go
docker_cli_tag_test.go Use distribution's ValidateRepositoryName for remote name validation. 2015-06-17 15:15:16 -04:00
docker_cli_top_test.go
docker_cli_version_test.go Add branch and build time to version 2015-06-22 13:00:27 -07:00
docker_cli_wait_test.go
docker_test_vars.go
docker_test_vars_cli.go
docker_test_vars_daemon.go
docker_utils.go fix the goroutine leak in the stats API if the container is not running 2015-06-23 19:38:15 +08:00
registry.go
requirements.go
requirements_unix.go
test_vars_exec.go
test_vars_noexec.go
test_vars_unix.go
test_vars_windows.go
utils.go