Missing package github.com/docker/docker/autogen/dockerversion
Trying to compile Docker in Windows according to the instructions here:
How to compile Docker on Windows
and getting this error message:
cannot find package "github.com/docker/docker/autogen/dockerversion" in any of:
Tried browsing to https://github.com/docker/docker/autogen/dockerversion but getting a 404; can anyone tell me how to get this using GIT client?
One Solution collect form web for “Missing package github.com/docker/docker/autogen/dockerversion”
I had the same issue, the author has updated the post as you have seen to include the use of GitBash. You will need to update your source to get the new ‘hack’ directory content used in the instructions he outlines as per below:
git clone --depth 1 https://github.com/docker/docker.git /c/gopath/src/github.com/docker/docker cd /c/gopath/src/github.com/docker/docker export GOPATH=/c/gopath:/c/gopath/src/github.com/docker/docker/vendor export DOCKER_CLIENTONLY=1 chmod +x hack/make/.go-autogen && hack/make/.go-autogen cd docker go build
Do you have GitBash installed? All of the instructions he provides need to be run in a GitBash window not the Windows Command window now.
I have built it successfully, so if you need any more help I may be of use.