1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/networkdriver
Arnaud Porterie dafddf461e Restrict portallocator to Docker allocated ports
Port allocation status is stored in a global map: a port detected in use will remain as such for the lifetime of the daemon. Change the behavior to only mark as allocated ports which are claimed by Docker itself (which we can trust to properly remove from the allocation map once released). Ports allocated by other applications will always be retried to account for the eventually of the port having been released.

Docker-DCO-1.1-Signed-off-by: Arnaud Porterie <icecrime@gmail.com> (github: icecrime)
2014-06-27 10:51:25 -07:00
..
bridge Restrict portallocator to Docker allocated ports 2014-06-27 10:51:25 -07:00
ipallocator Ip allocator refactoring 2014-05-27 22:56:26 +04:00
portallocator portallocator: rewrite to simplify, removes race condition 2014-05-21 09:14:53 -07:00
portmapper Restrict portallocator to Docker allocated ports 2014-06-27 10:51:25 -07:00
network.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
network_test.go Update libcontainer imports 2014-06-10 19:58:15 -07:00
utils.go Update libcontainer imports 2014-06-10 19:58:15 -07:00