Skip to content

Commit

Permalink
fix: update docs for bindsdoc (#623)
Browse files Browse the repository at this point in the history
we were missing the dict version in the docs

Signed-off-by: Michael McCracken <[email protected]>
  • Loading branch information
mikemccracken authored Aug 27, 2024
1 parent 221b5c0 commit 3c4ef39
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/stacker_yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,16 @@ not include all of its build dependencies.

### `binds`

`binds`: specifies bind mounts from the host to the container. There are two formats:
`binds`: specifies bind mounts from the host to the container. There are three formats:

binds:
- /zomg
- /foo/bar -> /bar/baz
- /zomg
- source: /foo/bar
dest: /bar/baz

The first one binds /foo/bar to /bar/baz, and the second host /zomg to
container /zomg.
The first one binds host `/zomg` to container `/zomg` while the second and third
bind host `/foo/bar` to container `/bar/baz`.

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

0 comments on commit 3c4ef39

Please sign in to comment.