mirror of https://github.com/docker/docker-py.git
Merge pull request #830 from docker/fix-links-create-test
Use network_mode=bridge when testing links
This commit is contained in:
commit
47ab89ec2b
|
@ -91,7 +91,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']
|
||||
|
|
Loading…
Reference in New Issue