-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Add VOLUME instruction to buildfile #1124
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
Conversation
|
Hey @crosbymichael, thanks for contributing this. Would you mind adding a test which makes sure that the built image does indeed expose a volume at the given path? Your test does verify that the keyword doesn't cause a build to fail, but that's currently the case for all keywords since they are ignored by default. Happy to help, and looking forward to merging this. |
|
Thanks for the feedback. Done! |
|
@crosbymichael could you rebase to master ? tests are broken. Thanks |
|
LGTM |
1 similar comment
|
LGTM |
+ Builder: Add VOLUME instruction to buildfile
|
Is I wasn't able to get that working. |
|
@matthewmueller no, host mounts are not supported in the Dockerfile |
|
@crosbymichael should they be? It seems like an asymmetry between the CLI and the Dockerfile. |
|
No. Dockerfiles should be portable. On Saturday, August 17, 2013, Matthew Mueller wrote:
Thanks, Michael Crosby |
|
Oh good point, so it seems like VOLUME is more to serve |
Add the VOLUME instruction to the Dockerfile builder.