kubernetes/pkg/kubelet/dockertools
Yu-Ju Hong fee4c9a7d9 Return empty network namespace if the infra container has exited
If the infra container has already terminated, `docker inspect` will report
pid 0. The path constructed using the pid to check the network namespace of
the process will be invalid. This commit changes docker to report an empty
path to stop kubenet from erroring out whenever TearDown is called on an
exited infra container.

This is not a fix for all the plugins, as some plugins may require the actual
network namespace to tear down properly.
2016-10-20 17:12:08 -07:00
..
fixtures/seccomp Add profile unit tests 2016-06-13 14:39:09 +02:00
container_gc_test.go - Added a DeleteContainer method in Runtime interface 2016-07-08 10:40:30 -07:00
container_gc.go dockershim: implement ContainerStatus() 2016-07-28 18:24:29 -07:00
convert_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
convert.go Avoiding trying to gc images with no tags which are still in use 2016-07-27 10:31:47 -07:00
docker_manager_test.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
docker_manager.go Return empty network namespace if the infra container has exited 2016-10-20 17:12:08 -07:00
docker_test.go Add method to inspect Docker images by ID 2016-10-10 15:16:58 -04:00
docker.go Kubelet: Use RepoDigest for ImageID when available 2016-10-10 15:16:58 -04:00
exec.go Add return code support to kubectl-exec and -run 2016-08-20 15:58:47 +02:00
fake_docker_client.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
fake_manager.go Revert "Remove pod mutation for PVs with supplemental GIDs" 2016-07-14 17:47:46 -07:00
images_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
images.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
instrumented_docker.go Add method to inspect Docker images by ID 2016-10-10 15:16:58 -04:00
kube_docker_client.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
labels_test.go Add container ports label. 2016-08-08 18:40:18 -07:00
labels.go Add container ports label. 2016-08-08 18:40:18 -07:00