-
Notifications
You must be signed in to change notification settings - Fork 290
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
Docker mounting host file as a data volume no longer works #930
Comments
Hi @RobertBoothby It looks like there's a syntax issue in the path you're using. docker run --rm -ti -v c:/Users/desktop.ini:/foo alpine sh |
@jasonbivins - I am having a similar issue using docker-compose. See issue here: docker/compose#5037 |
Thanks Jason. Sorry about the delay in replying. That gives us a work-around but it does highlight a change in behaviour and a divergence from the documentation referenced.
|
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Per the documentation I expect to be able to mount a single host file to my docker image. This did work on previous versions.
Actual behavior
When I try to mount the host file it mounts it as an empty directory if the file does not exist in the image. This is happening to me and my colleagues running Docker for Windows, not for my colleagues running Docker for Linux and Mac.
Information
8C7ABEFB-E678-403F-AAC1-20921A20F512/2017-07-17_11-45-02
documentation
OS Name Microsoft Windows 10 Pro
Version 10.0.15063 Build 15063
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: