File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -232,14 +232,16 @@ not include all of its build dependencies.
232
232
233
233
### ` binds `
234
234
235
- ` binds ` : specifies bind mounts from the host to the container. There are two formats:
235
+ ` binds ` : specifies bind mounts from the host to the container. There are three formats:
236
236
237
237
binds:
238
+ - /zomg
238
239
- /foo/bar -> /bar/baz
239
- - /zomg
240
+ - source: /foo/bar
241
+ dest: /bar/baz
240
242
241
- The first one binds /foo/bar to /bar/baz, and the second host /zomg to
242
- container /zomg .
243
+ The first one binds host ` /zomg ` to container ` /zomg ` while the second and third
244
+ bind host ` /foo/bar ` to container ` /bar/baz ` .
243
245
244
246
Right now there is no awareness of change for any of these bind mounts, so
245
247
--no-cache should be used to re-build if the content of the bind mount has
You can’t perform that action at this time.
0 commit comments