mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
The only viable way to allocate a port is to bind and listen to it. So, the windows PortMapper was really a PortAllocator in disguise. Rename it to OSAllocator and move it to the portallocator package. Signed-off-by: Albin Kerouanton <albinker@gmail.com>