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:
|
You may write your Compose file as follows:
|
||||||
|
|
||||||
```none
|
```none
|
||||||
version: '2.1'
|
version: '3.4'
|
||||||
x-logging:
|
x-logging:
|
||||||
&default-logging
|
&default-logging
|
||||||
options:
|
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:
|
the [YAML merge type](http://yaml.org/type/merge.html). For example:
|
||||||
|
|
||||||
```none
|
```none
|
||||||
version: '2.1'
|
version: '3.4'
|
||||||
x-volumes:
|
x-volumes:
|
||||||
&default-volume
|
&default-volume
|
||||||
driver: foobar-storage
|
driver: foobar-storage
|
||||||
|
|
Loading…
Reference in New Issue