The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Jana Radhakrishnan 1ffe6fef02 Move sandbox resources when container restarts
Currently when container has a restart policy and gets
restarted, docker does not release networking and allocate
it back. But it presents libnetwork with a new sandbox while
all the network resources are locked in the old sandbox. This
commit attempts to move all the network resources from the old
sandbox to the new sandbox when libnetwork is presented with the
new sandbox.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2015-10-09 13:43:25 -07:00
libnetwork Move sandbox resources when container restarts 2015-10-09 13:43:25 -07:00