Comments (6)
github.com/docker/libcontainer/namespaces does not exists anymore.
What is the fix?
from dockersh.
Hi, I also encounter similar problem.
Should it be changed to libcontainer under Runc repo.
How about other repos like github.com/docker/docker/pkg/units?
root@edge02:/home/oneadmin/dockersh# go get package code.google.com/p/gcfg: unable to detect version control system for code.google.com/ path package github.com/docker/docker/pkg/units imports github.com/docker/docker/pkg/units imports github.com/docker/docker/pkg/units: cannot find package "github.com/docker/docker/pkg/units" in any of: /root/.gvm/gos/go1.4.2/src/github.com/docker/docker/pkg/units (from $GOROOT) /root/.gvm/pkgsets/go1.4.2/global/src/github.com/docker/docker/pkg/units (from $GOPATH) package github.com/docker/docker/pkg/units imports github.com/docker/libcontainer/namespaces imports github.com/docker/libcontainer/namespaces imports github.com/docker/libcontainer/namespaces: cannot find package "github.com/docker/libcontainer/namespaces" in any of: /root/.gvm/gos/go1.4.2/src/github.com/docker/libcontainer/namespaces (from $GOROOT) /root/.gvm/pkgsets/go1.4.2/global/src/github.com/docker/libcontainer/namespaces (from $GOPATH)
When I try to build image from Dockerfile, I get this error.
Step 5 : RUN go get ---> Running in 3b0bf0c53414 package code.google.com/p/gcfg: unable to detect version control system for code.google.com/ path package github.com/docker/docker/pkg/units: cannot find package "github.com/docker/docker/pkg/units" in any of: /usr/local/go/src/github.com/docker/docker/pkg/units (from $GOROOT) /go/src/github.com/docker/docker/pkg/units (from $GOPATH) /go/src/app/_gopath/src/github.com/docker/docker/pkg/units /gopath/src/github.com/docker/libcontainer/vendor/src/github.com/docker/docker/pkg/units package github.com/docker/libcontainer/namespaces: cannot find package "github.com/docker/libcontainer/namespaces" in any of: /usr/local/go/src/github.com/docker/libcontainer/namespaces (from $GOROOT) /go/src/github.com/docker/libcontainer/namespaces (from $GOPATH) /go/src/app/_gopath/src/github.com/docker/libcontainer/namespaces /gopath/src/github.com/docker/libcontainer/vendor/src/github.com/docker/libcontainer/namespaces The command '/bin/sh -c go get' returned a non-zero code: 1
from dockersh.
I am seeing this issue as well. It looks like the problem is in nsenter_linux_amd64.go is this based on https://github.com/jpetazzo/nsenter ?
from dockersh.
I've noticed this also
[root@sir1 dockersh]# docker build . Sending build context to Docker daemon 290.3 kB Step 1 : FROM google/golang ---> 09ec5b5ecced Step 2 : ENV GOPATH $GOPATH:/gopath/src/github.com/docker/libcontainer/vendor ---> Using cache ---> e61c9ef5eefb Step 3 : WORKDIR /gopath/src/github.com/Yelp/dockersh ---> Using cache ---> cda1cdacf2f3 Step 4 : ADD . /gopath/src/github.com/Yelp/dockersh/ ---> Using cache ---> ecc03fc596c7 Step 5 : RUN go get ---> Running in 22c548099502 package github.com/docker/docker/pkg/units: cannot find package "github.com/docker/docker/pkg/units" in any of: /usr/local/go/src/github.com/docker/docker/pkg/units (from $GOROOT) /go/src/github.com/docker/docker/pkg/units (from $GOPATH) /go/src/app/_gopath/src/github.com/docker/docker/pkg/units /gopath/src/github.com/docker/libcontainer/vendor/src/github.com/docker/docker/pkg/units package github.com/docker/libcontainer/namespaces: cannot find package "github.com/docker/libcontainer/namespaces" in any of: /usr/local/go/src/github.com/docker/libcontainer/namespaces (from $GOROOT) /go/src/github.com/docker/libcontainer/namespaces (from $GOPATH) /go/src/app/_gopath/src/github.com/docker/libcontainer/namespaces /gopath/src/github.com/docker/libcontainer/vendor/src/github.com/docker/libcontainer/namespaces The command '/bin/sh -c go get' returned a non-zero code: 1
from dockersh.
It seems that libcontainier was moved. From githubs libcontainer page: PROJECT MOVED TO RUNC https://github.com/opencontainers/runc
Further, it seems we can not jut use the new RUNC directly, and there are changes that will need to be made: https://github.com/opencontainers/runc/tree/master/libcontainer/nsenter
So far, both building with docker or go are failing. Adding the unit files in as per d17077b resolved 1/2 of the issues, but since libcontainer is now runC, it is stuck.
from dockersh.
Sorry, but I'm closing this because we are archiving this project.
from dockersh.
Related Issues (19)
- Table formatting doesn't work on dockerhub
- Use user namespaces
- scp / sftp HOT 5
- Be able to interpolate the user's shell when used as a ForceCommand
- Find a better way to make ssh agent sockets work than to bind /tmp
- /init: permission denied HOT 1
- Unable to find image '/dev/null:/portforward:ro' locally HOT 3
- How to open a login shell? HOT 1
- Incompatible with newer libcontainer HOT 5
- Build breaks: missing sys.UidMappings HOT 1
- Build breaks: no buildable Go source files in /gopath/src/github.com/Yelp/dockersh HOT 3
- Not working with docker-engine for centos HOT 1
- include from code.google.com HOT 2
- cannot find package "github.com/docker/docker/pkg/units" HOT 4
- panic: Could not load container configuration HOT 1
- No passwd entry HOT 2
- Unable to build HOT 3
- Is this repo still active? Build failed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockersh.