Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

docker/docker/pkg/units not found #50

Closed
donniev opened this issue Mar 30, 2016 · 6 comments
Closed

docker/docker/pkg/units not found #50

donniev opened this issue Mar 30, 2016 · 6 comments

Comments

@donniev
Copy link

donniev commented Mar 30, 2016

Trying to install on Mac El Cap
units does not appear to be in the docker/docker/pkg repo

TheBeast:nodecontainerbuddybase donvawter$ go get github.com/docker/docker/pkg/units
package github.com/docker/docker/pkg/units: cannot find package "github.com/docker/docker/pkg/units" in any of:
/usr/local/Cellar/go/1.5.3/libexec/src/github.com/docker/docker/pkg/units (from $GOROOT)
/Users/donvawter/.go/src/github.com/docker/docker/pkg/units (from $GOPATH)

@anlek
Copy link

anlek commented Apr 1, 2016

Same here

@jwilder
Copy link
Owner

jwilder commented Apr 1, 2016

Are you following the development instructions? You need to use glock to pull dependencies.

@anlek
Copy link

anlek commented Apr 2, 2016

Yes, but if you look at docker/docker/pkg, units is no longer a folder that's there...https://github.com/docker/docker/tree/master/pkg

@enryold
Copy link

enryold commented Apr 11, 2016

I solved by creating an empty directory in my .go home folder, than copying 4 files from here
https://github.com/aduermael/minecraft-docker-client/tree/master/go/src/github.com/docker/docker/pkg/units

mkdir -p /Users/enryold/.go/src/github.com/docker/docker/pkg/units
cp /Users/enryold/Downloads/*.go /Users/enryold/.go/src/github.com/docker/docker/pkg/units/

@mtakaki
Copy link

mtakaki commented Apr 27, 2016

Thanks, @enryold! This worked for me!

@jwilder
Copy link
Owner

jwilder commented Apr 27, 2016

@anlek You are linking to master which is not the correct commit that this project uses. See the GLOCKFILE in the root of the project.

You should be able to run glock sync github.com/jwilder/docker-squash as described in development instructions. That will checkout all the dependencies with the correct versions into your $GOPATH. This project depends on docker/docker@2606a2 which contains the pkg/units.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants