-
Notifications
You must be signed in to change notification settings - Fork 78
Docker build fails with "cannot find package "github.com/docker/libcontainer/namespaces"" #19
Comments
github.com/docker/libcontainer/namespaces does not exists anymore. What is the fix? |
Hi, I also encounter similar problem.
|
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 ? |
I've noticed this also
|
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. |
Sorry, but I'm closing this because we are archiving this project. |
Just did a docker build and it fails:
Status: Downloaded newer image for google/golang:latest
Executing 1 build triggers
Trigger 0, RUN echo "This image is now deprecated. If you are not using Managed VMs, you should use the official Go Docker image located at: https://hub.docker.com/_/golang/"
Step 0 : RUN echo "This image is now deprecated. If you are not using Managed VMs, you should use the official Go Docker image located at: https://hub.docker.com/_/golang/"
---> Running in 345c351545f0
This image is now deprecated. If you are not using Managed VMs, you should use the official Go Docker image located at: https://hub.docker.com/_/golang/
---> cd06dfa999b2
Removing intermediate container 345c351545f0
Step 1 : ENV GOPATH $GOPATH:/gopath/src/github.com/docker/libcontainer/vendor
---> Running in 4135f0cd3420
---> c28876072e89
Removing intermediate container 4135f0cd3420
Step 2 : WORKDIR /gopath/src/github.com/Yelp/dockersh
---> Running in e5c6a7054302
---> 73daaaa72471
Removing intermediate container e5c6a7054302
Step 3 : ADD . /gopath/src/github.com/Yelp/dockersh/
---> 98dc8f30ccf8
Removing intermediate container a17661ea88d4
Step 4 : RUN go get
---> Running in ce829d744d14
package code.google.com/p/gcfg
imports github.com/coreos/go-namespaces/namespace
imports github.com/docker/libcontainer
imports github.com/docker/docker/pkg/mount
imports github.com/docker/docker/pkg/symlink
imports github.com/docker/docker/pkg/units
imports github.com/docker/libcontainer/user
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:
/goroot/src/github.com/docker/libcontainer/namespaces (from $GOROOT)
/gopath/src/github.com/docker/libcontainer/namespaces (from $GOPATH)
/gopath/src/github.com/docker/libcontainer/vendor/src/github.com/docker/libcontainer/namespaces
INFO[0158] The command [/bin/sh -c go get] returned a non-zero code: 1
The text was updated successfully, but these errors were encountered: