mirror of https://github.com/docker/docs.git
Updated version specification
The version specification used in the examples was before the feature was introduced and would thus never parse.
This commit is contained in:
parent
14ef9244e3
commit
54483a979d
|
@ -29,7 +29,7 @@ logging:
|
|||
You may write your Compose file as follows:
|
||||
|
||||
```none
|
||||
version: '2.1'
|
||||
version: '3.4'
|
||||
x-logging:
|
||||
&default-logging
|
||||
options:
|
||||
|
@ -50,7 +50,7 @@ It is also possible to partially override values in extension fields using
|
|||
the [YAML merge type](http://yaml.org/type/merge.html). For example:
|
||||
|
||||
```none
|
||||
version: '2.1'
|
||||
version: '3.4'
|
||||
x-volumes:
|
||||
&default-volume
|
||||
driver: foobar-storage
|
||||
|
|
Loading…
Reference in New Issue