Skip to content

Commit 3c4ef39

Browse files
fix: update docs for bindsdoc (#623)
we were missing the dict version in the docs Signed-off-by: Michael McCracken <[email protected]>
1 parent 221b5c0 commit 3c4ef39

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/stacker_yaml.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,16 @@ not include all of its build dependencies.
232232

233233
### `binds`
234234

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:
236236

237237
binds:
238+
- /zomg
238239
- /foo/bar -> /bar/baz
239-
- /zomg
240+
- source: /foo/bar
241+
dest: /bar/baz
240242

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`.
243245

244246
Right now there is no awareness of change for any of these bind mounts, so
245247
--no-cache should be used to re-build if the content of the bind mount has

0 commit comments

Comments
 (0)