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

Add explanative sentence for volumes option #164

Merged
merged 1 commit into from Apr 26, 2019

Conversation

keirlawson
Copy link
Contributor

What did you implement:

Added a documentation for the volumes option.

Closes: #163

How did you verify your change:

Generated documentation locally

@softprops
Copy link
Owner

Thanks @keirlawson

@softprops softprops merged commit bc732d8 into softprops:master Apr 26, 2019
@@ -564,6 +564,7 @@ impl ContainerOptionsBuilder {
self
}

/// Specify any bind mounts, taking the form of `/some/host/path:/some/container/path`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think volumes is not restricted to bind mounts. You can use also use named volumes. For example, you could use volumes(vec!["myvol2:/app"]) (see here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for bind mounts?
3 participants