Skip to content

Commit

Permalink
introduce create_host_path
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
  • Loading branch information
ndeloof committed Apr 27, 2021
1 parent b7fb5b6 commit 9e8dbd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema/compose-spec.json
Expand Up @@ -408,7 +408,8 @@
"bind": {
"type": "object",
"properties": {
"propagation": {"type": "string"}
"propagation": {"type": "string"},
"create_host_path": {"type": "boolean"}
},
"additionalProperties": false,
"patternProperties": {"^x-": {}}
Expand Down
1 change: 1 addition & 0 deletions spec.md
Expand Up @@ -1811,6 +1811,7 @@ expressed in the short form.
- `read_only`: flag to set the volume as read-only
- `bind`: configure additional bind options
- `propagation`: the propagation mode used for the bind
- `create_host_path`: create source path on host if missing. This is automatically implied by short syntax.
- `volume`: configure additional volume options
- `nocopy`: flag to disable copying of data from a container when a volume is created
- `tmpfs`: configure additional tmpfs options
Expand Down

0 comments on commit 9e8dbd3

Please sign in to comment.