mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9bb69f9726
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> |
||
---|---|---|
.. | ||
make | ||
.vendor-helpers.sh | ||
dind | ||
generate-authors.sh | ||
install.sh | ||
make.sh | ||
release.sh | ||
vendor.sh |