mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
336199a877
If the bridge specified using -b/--bridge doesn't exist, fail instead of attempting to create it. This is consistent with the docker documentation on -b/--bridge: "Attach containers to a pre existing network bridge". It is also less surprising in an environment where the operator expected the bridge to be properly set up before docker starts and expects docker to fail fast if the bridge was not up instead of masking this error and coming up in some potentially broken state. With this patch, docker still creates docker0 if needed and no bridge was explicitly specified. Docker-DCO-1.1-Signed-off-by: Daniel Norberg <daniel.norberg@gmail.com> (github: danielnorberg) |
||
---|---|---|
.. | ||
bridge | ||
ipallocator | ||
portallocator | ||
portmapper | ||
network.go | ||
network_test.go | ||
utils.go |