Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update docs for bindsdoc #623

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading