File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
docker build -t runlike_fixture dockerfiles/
3
+
4
+ docker network rm runlike_fixture_bridge
5
+ docker network create runlike_fixture_bridge
6
+
3
7
docker rm -f runlike_fixture1
4
8
docker run -d --name runlike_fixture1 \
5
9
--hostname Essos \
@@ -23,4 +27,5 @@ docker run -d --name runlike_fixture2 \
23
27
docker rm -f runlike_fixture3
24
28
docker run -d --name runlike_fixture3 \
25
29
--restart=on-failure:3 \
30
+ --network runlike_fixture_bridge \
26
31
runlike_fixture
Original file line number Diff line number Diff line change @@ -63,5 +63,6 @@ def test_hostname_not_present(self):
63
63
self .dont_expect_substr ('--hostname \\ ' , 2 )
64
64
65
65
def test_network_mode (self ):
66
- self .expect_substr ('--network=host' , 2 )
67
66
self .dont_expect_substr ('--network' , 1 )
67
+ self .expect_substr ('--network=host' , 2 )
68
+ self .expect_substr ('--network=runlike_fixture_bridge' , 3 )
You can’t perform that action at this time.
0 commit comments