1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/runtime
Daniel Norberg 336199a877 net: do not create -b/--bridge specified bridge
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)
2014-04-10 11:11:17 -04:00
..
execdriver Check for apparmor enabled on host to populate profile 2014-04-09 10:22:17 +00:00
graphdriver Remove driver wide mount label for dm 2014-04-03 06:34:57 +00:00
networkdriver net: do not create -b/--bridge specified bridge 2014-04-10 11:11:17 -04:00
container.go Move DNS options to hostconfig 2014-04-07 19:12:22 -07:00
container_unit_test.go Move runtime and container into sub pkg 2014-03-09 23:03:40 -07:00
history.go Move history to separate file 2014-04-07 11:01:35 -07:00
runtime.go Move DNS options to hostconfig 2014-04-07 19:12:22 -07:00
runtime_aufs.go graphdriver: build tags 2014-03-17 21:54:05 -04:00
runtime_btrfs.go btrfs: build tags 2014-03-18 13:44:23 -04:00
runtime_devicemapper.go graphdriver: build tags 2014-03-17 21:54:05 -04:00
runtime_no_aufs.go graphdriver: build tags 2014-03-17 21:54:05 -04:00
server.go Add IsRunning to server interface 2014-03-09 23:16:15 -07:00
sorter.go Move runtime and container into sub pkg 2014-03-09 23:03:40 -07:00
state.go Fix since time exit display when s.FinishedAt is zero 2014-03-21 15:28:02 +09:00
utils.go Add --opt arguments for drivers 2014-03-27 21:47:47 +01:00
utils_test.go Update imports to be consistent 2014-04-01 07:07:42 +00:00
volumes.go Make volumes-from a slice instead of string split 2014-04-08 21:45:06 +00:00