Open kgolding opened 6 years ago
I have the same issue on windows 10.
Client:
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24302
Built: Fri Mar 23 08:31:36 2018
OS/Arch: windows/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.03.0-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.4
Git commit: 0520e24
Built: Wed Mar 21 23:14:54 2018
OS/Arch: linux/amd64
Experimental: false
Checking for required docker image karalabe/xgo-latest... found.
Cross compiling github.com/project-iris/iris...
docker: Error response from daemon: invalid mode: /build.
See 'docker run --help'.
2018/04/02 14:43:43 Failed to cross compile package: exit status 125.
I believe this caused by docker-toolbox not liking colons in '-v' cli options. This is called in the function 'compile' in 'xgo.go' line 233.
This example command causes the 'Error response from daemon: invalid mode: /build.' error:
docker run --rm -v c:\users:/build alpine ls
This example command does not (and works as expected):
docker run --rm -v /c/users:/build alpine ls
Have installed docker toolbox on Wndows 7 64bit Pro, whichs run "docker run hello-world" ok, but am getting an error trying to use xgo: