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

  • Docker can't start “Default” despite successful installation on OSX 10.8.5
  • Running a subset of docker commands without sudo
  • T50 does not work with docker container
  • Is there any possible way to create a docker image without docker installed on my development machine?
  • Docker compose mysql reachable on port 3306
  • remote server returned 400 bad request for apache2 in ubuntu
  • 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?

  • Docker: How to live sync host folder with container folder?
  • Restart ghost blog running inside Docker
  • Integration Tests with Docker and Bitbucket pipelines
  • How to switch from ascii postgresql database to utf8 on docker?
  • Docker swarm - log to rsyslog container
  • configuring dynomitedb from Docker-compose
  • 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.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.