Fix volume definition in v3 schema
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
5b912082e1
commit
e035931f2e
4 changed files with 20 additions and 6 deletions
|
|
@ -295,7 +295,13 @@ class CLITestCase(DockerClientTestCase):
|
|||
assert yaml.load(result.stdout) == {
|
||||
'version': '3.0',
|
||||
'networks': {},
|
||||
'volumes': {},
|
||||
'volumes': {
|
||||
'foobar': {
|
||||
'labels': {
|
||||
'com.docker.compose.test': 'true',
|
||||
},
|
||||
},
|
||||
},
|
||||
'services': {
|
||||
'web': {
|
||||
'image': 'busybox',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue