docker/docker — pull request #8297 by aluzzardi (2014-09-30 00:39:27+00:00)
Title: Stable Networking: Keep the same network settings during the entire container lifecycle.

This change will allocate network settings (IP and public ports) at container creation rather than start and keep them throughout the lifetime of the container (i.e. until it gets destroyed) instead of discarding them when the container is stopped.

It will also restore network settings upon daemon restart in order to guarantee that IPs and ports will remain stable all the time (regardless of daemon restarts) and will prevent new containers from obtaining the same IPs or public ports.