Skip to content

Commit 47ab89e

Browse files
committed
Merge pull request #830 from docker/fix-links-create-test
Use network_mode=bridge when testing links
2 parents f4c881f + aaeb6c1 commit 47ab89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/container_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_create_with_links(self):
9191
res2 = self.client.create_container(
9292
BUSYBOX, 'env', host_config=self.client.create_host_config(
9393
links={link_path1: link_alias1, link_path2: link_alias2},
94-
network_mode='none'
94+
network_mode='bridge'
9595
)
9696
)
9797
container3_id = res2['Id']

0 commit comments

Comments
 (0)