Kaydet (Commit) aaeb6c10 authored tarafından Joffrey F's avatar Joffrey F

Use network_mode=bridge when testing links

Links are only compatible with network mode bridge.
New versions of docker only create env entries when network mode
is properly set.
Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst a610a1be
......@@ -107,7 +107,7 @@ class CreateContainerTest(api_test.BaseTestCase):
res2 = self.client.create_container(
BUSYBOX, 'env', host_config=self.client.create_host_config(
links={link_path1: link_alias1, link_path2: link_alias2},
network_mode='none'
network_mode='bridge'
)
)
container3_id = res2['Id']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment