mirror of
https://github.com/moby/moby.git
synced 2026-07-07 07:07:26 +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>