Skip to content

Instantly share code, notes, and snippets.

View smithjessk's full-sized avatar

Jess Smith smithjessk

  • United States
View GitHub Profile
@rasouli
rasouli / build_docker_client.sh
Created August 23, 2017 17:58
installing docker client while the process of renaming "docker/docker" to "moby/moby" import path is in progress.
# while import path in docker project is being renamed to moby/moby,
# I had trouble installing/building moby client. I faced the following error on issuing
# $ go install
# command inside $GOPATH/src/github.com/moby/moby/client:
# ./service_create.go:96: cannot use distributionInspect.Descriptor.Digest (type "github.com/docker/docker/vendor/github.com/opencontainers/go-digest".Digest) as type "github.com/moby/moby/vendor/github.com/opencontainers/go-digest".Digest in argument to imageWithDigestString
# the workaround I found for time being is the following which helped me to compile the docker/moby client
# library, hope it comes useful.
# in order issue following command or similar for your platform:
# 1- issue go get to get the packages ( ignore the "no buildable Go source files in" error in the end)