1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack
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
..
make Add branch and build time to version 2015-06-22 13:00:27 -07:00
.vendor-helpers.sh Update vendored go.net to use golang.org/x/net canonical path 2015-06-16 11:40:04 -04:00
dind hack: quote all parameters with variable interpolation 2015-04-15 10:14:14 +02:00
generate-authors.sh Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
install.sh add gpg fingerprint for experimental 2015-06-15 18:49:22 -07:00
make.sh Add branch and build time to version 2015-06-22 13:00:27 -07:00
release.sh fix s3_url for release script for experimental 2015-06-18 14:54:40 -07:00
vendor.sh Fix endpoint leave failure for --net=host mode 2015-06-24 12:33:52 -07:00