-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Docker Quickstart Terminal replaces coloms by semi-coloms #80
Comments
@jdevora Thanks for reporting this. We will look into this problem. |
Try |
ah, thank goodness this wasn't just something odd about my windows 10 box :) - confirmed. |
same issue for me, and thanks @doxxx , it's worked! OS: Windows 10 |
Same for me. This is really frustrating as I can't get any tutorial to work. I can't even use docker-compose as I'm using the container method for that, and it requires the -v switch too: $ docker-compose up
invalid value "C:\\Program Files\\Git\\var\\run\\docker.sock;C:\\Program Files\\Git\\var\\run\\docker.sock" for flag -v: bad mount mode specified : \Program Files\Git\var\run\docker.sock
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'. @doxxx I've tried putting the extra slash at the start of the path on the right hand side of the colon but then I get "Bad Address" instead: bash: /c/Program Files/Docker Toolbox/docker: Bad address |
@acuthbert Docker Toolbox does not include docker-compose on Windows as it is not currently supported as far as I know. |
@acuthbert What you can try doing as a workaround for Windows though, is to SSH into the VM created by docker-machine and install and run docker-compose directly there. |
For anyone else having this problem I found a comment in another thread that helped clear it up. The double slash has to be at the beginning. Not after the colon. Here is my working example now:
HTH |
Thanks tryjude, that helped with the "bad address" problem. |
@tryjude : this works for me too - thanks! |
the suggestion to put two slashes, "//c/", is not working for me. It creates the folder inside your docker container, but there is no persistence from my local C drive (files inside that folder are non-existent. If you've gotten it to work using the double slashes, please give your full steps as my conclusion is either correct or misguided. |
@evbo make sure that the Windows path is somewhere inside c:\Users, because by default, that's the only path shared with the virtual machine |
This looks to have been fixed for the docker binary when run from
however, there are issues when you're using something else - for example, #397 so - @JeffDM can we close this one? |
Persisting only within the Windows "Users" directory is a bit too restrictive for some needs. Here is a work around that I use on a daily basis now: first, ensure (using the GUI) that virtualbox has a shared folder setup to your liking (in this case we will map to a get to your root directory in the linux machine create a directory to share (persist) data with your local machine mount the shared folder named "work" to the "/work" dir inside the Boot2Docker VM run the container with the mounted "/work" volume located at "/work" inside the container
|
@SvenDowideit indeed. Thanks for pinging me! |
@doxxx Thanks |
I'm trying to execute a container mapping the current directory on Windows, using the new "Docker Quickstart Terminal".
The problem is that the paths get changed before executing docker.
As you can see a valid path with the old boot2docker gets converted to a pseudo Windows style path replacing the : that separates the host and the container directories to a ;
Using a Windows style path doesn't help either
The text was updated successfully, but these errors were encountered: