mirror of
https://github.com/moby/moby.git
synced 2026-07-13 11:00:42 +00:00
CI runs a docker daemon, and some tests run their own. That tramples the CI daemon's default bridge. If a test leaves the bridge with only a link-local IPv6 address (for example), subsequent tests are likely to fail - even if they also start their own daemon because, by default the default bridge network's config is based on an existing bridge device. So, remember the bridge's addresses at the start of each test, and restore them afterwards. Signed-off-by: Rob Murray <rob.murray@docker.com>