File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 408408 "bind" : {
409409 "type" : " object" ,
410410 "properties" : {
411- "propagation" : {"type" : " string" }
411+ "propagation" : {"type" : " string" },
412+ "create_host_path" : {"type" : " boolean" }
412413 },
413414 "additionalProperties" : false ,
414415 "patternProperties" : {"^x-" : {}}
Original file line number Diff line number Diff line change @@ -1811,6 +1811,9 @@ expressed in the short form.
18111811- `read_only` : flag to set the volume as read-only
18121812- `bind` : configure additional bind options
18131813 - `propagation` : the propagation mode used for the bind
1814+ - `create_host_path` : create a directory at the source path on host if there is nothing present.
1815+ Do nothing if there is something present at the path. This is automatically implied by short syntax
1816+ for backward compatibility with docker-compose legacy.
18141817- `volume` : configure additional volume options
18151818 - `nocopy` : flag to disable copying of data from a container when a volume is created
18161819- `tmpfs` : configure additional tmpfs options
You can’t perform that action at this time.
0 commit comments