mirror of
https://github.com/moby/moby.git
synced 2026-07-27 03:41:33 +00:00
This function returns the default network to use for the daemon platform; moving this to a location separate from runconfig, which is planned to be dismantled and moved to the API. While it might be convenient to move this utility inside api/types/container, we don't want to advertise this function too widely, as the default returned can ONLY be considered correct when ran on the daemon-side. An alternative would be to introduce an argument (daemonPlatform), which isn't very convenient to use. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>