Implement network_mode in v2
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
3f28472ebc
commit
2b7306967b
16 changed files with 405 additions and 87 deletions
|
|
@ -365,7 +365,7 @@ class ProjectTest(unittest.TestCase):
|
|||
{
|
||||
'name': 'test',
|
||||
'image': 'busybox:latest',
|
||||
'net': 'container:aaa'
|
||||
'network_mode': 'container:aaa'
|
||||
},
|
||||
],
|
||||
networks=None,
|
||||
|
|
@ -398,7 +398,7 @@ class ProjectTest(unittest.TestCase):
|
|||
{
|
||||
'name': 'test',
|
||||
'image': 'busybox:latest',
|
||||
'net': 'container:aaa'
|
||||
'network_mode': 'service:aaa'
|
||||
},
|
||||
],
|
||||
networks=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue