1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 Remove API codepaths < 1.12 2015-05-12 20:09:49 +02:00
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 Delete "defer deleteAllContainers()" from integration-cli 2015-05-22 17:01:52 +08:00
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 c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_attach_unix_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
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 Do not require cgroups capabilities on windows to run the integration tests. 2015-05-29 11:42:40 -07:00
docker_cli_by_digest_test.go Prevent fallback to v1 registry for digest pulls 2015-05-18 08:26:26 +03:00
docker_cli_commit_test.go Use inspectField to simplify code 2015-05-18 10:06:13 +08:00
docker_cli_config_test.go Add GOOS in User-Agent 2015-06-04 13:37:41 -07:00
docker_cli_cp_test.go Merge pull request #13493 from jlhawn/volume_unmount_fix 2015-05-27 08:44:11 -07:00
docker_cli_create_test.go Container don't inherit from image labels 2015-06-05 11:11:22 -07:00
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 fixed TestDiffEnsureDockerinitFilesAreIgnored is too long #12672 2015-04-27 13:24:15 -07:00
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 fix experimental version and release script 2015-05-29 10:00:22 -07:00
docker_cli_export_import_test.go Clean tests from not needed inspect call 2015-05-16 18:12:54 +02:00
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 Implement teardown removeAllImages 2015-04-24 10:37:21 -07:00
docker_cli_images_test.go Implement teardown removeAllImages 2015-04-24 10:37:21 -07:00
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 Add suffix to experimental builds version 2015-05-21 16:27:42 -07:00
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 integration with libnetwork 2015-05-19 22:40:19 +00:00
docker_cli_login_test.go
docker_cli_logs_test.go Fix goroutine leak on logs -f with no output 2015-06-04 13:56:40 -07:00
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 Add integ test for unpublished ports in ps o/p 2015-06-09 09:40:19 -07:00
docker_cli_proxy_test.go Implement daemon suite for integration-cli 2015-04-27 15:48:29 -07:00
docker_cli_ps_test.go Merge pull request #12838 from fntlnz/test-cmd 2015-06-02 14:12:22 -07:00
docker_cli_pull_test.go Implement DockerRegistrySuite in integration-cli 2015-04-24 14:17:00 -07:00
docker_cli_push_test.go Finally remove our copy of "archive/tar" now that Go 1.4 is the minimum! 2015-05-01 16:01:10 -06:00
docker_cli_rename_test.go
docker_cli_restart_test.go Use inspectField to simplify code 2015-05-18 10:06:13 +08:00
docker_cli_rm_test.go a few cleanups for client output 2015-05-05 15:59:17 +08:00
docker_cli_rmi_test.go fix bug with rmi multiple tag 2015-05-29 14:04:06 -07:00
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 Do not require cgroups capabilities on windows to run the integration tests. 2015-05-29 11:42:40 -07:00
docker_cli_save_load_test.go Clean tests from not needed inspect call 2015-05-16 18:12:54 +02:00
docker_cli_save_load_unix_test.go Fix kr/pty import path 2015-06-04 09:02:14 -07:00
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 Volumes refactor and external plugin implementation. 2015-05-21 20:34:17 -07:00
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 Add docker stats --no-stream show cpu usage 2015-05-31 01:25:51 +08:00
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 Removed deleteContainer calls 2015-05-20 08:38:23 +02:00
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 Use inspectField to simplify code 2015-05-18 10:06:13 +08:00
docker_test_vars.go Volumes refactor and external plugin implementation. 2015-05-21 20:34:17 -07:00
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 Do not require cgroups capabilities on windows to run the integration tests. 2015-05-29 11:42:40 -07:00
requirements_unix.go Do not require cgroups capabilities on windows to run the integration tests. 2015-05-29 11:42:40 -07:00
test_vars_exec.go
test_vars_noexec.go
test_vars_unix.go
test_vars_windows.go
utils.go Merge pull request #13499 from cpuguy83/fix_stats_unsubscribe 2015-05-27 11:10:36 -04:00