moby--moby/nat
Daniel, Dao Quang Minh cd2b019214 sort ports mapping before allocating
prioritize the ports with static mapping before dynamic mapping. This removes
the port conflicts when we allocate static port in the reserved range
together with dynamic ones.
When static port is allocated first, Docker will skip those when determining
free ports for dynamic ones.

Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com>
2015-04-30 02:18:04 +00:00
..
nat.go Remove jobs from daemon/networkdriver/bridge 2015-04-08 18:50:29 -04:00
nat_test.go Fix format calls as suggested by vet 2015-01-14 14:12:03 -08:00
sort.go sort ports mapping before allocating 2015-04-30 02:18:04 +00:00
sort_test.go sort ports mapping before allocating 2015-04-30 02:18:04 +00:00