Giter Club home page Giter Club logo

Comments (2)

kunalkushwaha avatar kunalkushwaha commented on May 14, 2024

Same behaviour for daemon inside dockerized env also.

$ make dbuild daemon                                                                                                                                                                                                                          
Sending build context to Docker daemon 17.41 MB
.
.
.
.
 ---> d48d3421250e
Step 9 : RUN go get -d -v github.com/docker/containerd/ctr      && go get -d -v github.com/docker/containerd/containerd
 ---> Using cache
 ---> af71a29cd606
Step 10 : WORKDIR /go/src/github.com/docker/containerd
 ---> Using cache
 ---> f14ce2ac3ffb
Successfully built f14ce2ac3ffb
cd containerd && go build -tags "libcontainer" -o ../bin/containerd
# github.com/docker/containerd/linux
../linux/linux.go:629: cannot convert r.Memory.Limit (type *uint64) to type int64
../linux/linux.go:630: cannot convert r.Memory.Reservation (type *uint64) to type int64
../linux/linux.go:631: cannot convert r.Memory.Swap (type *uint64) to type int64
../linux/linux.go:632: cannot convert r.Memory.Kernel (type *uint64) to type int64
../linux/linux.go:633: cannot convert r.Memory.Swappiness (type *uint64) to type int64
../linux/linux.go:634: cannot convert r.CPU.Shares (type *uint64) to type int64
../linux/linux.go:635: cannot convert r.CPU.Quota (type *uint64) to type int64
../linux/linux.go:636: cannot convert r.CPU.Period (type *uint64) to type int64
../linux/linux.go:637: cannot convert r.CPU.RealtimeRuntime (type *uint64) to type int64
../linux/linux.go:638: cannot convert r.CPU.RealtimePeriod (type *uint64) to type int64
../linux/linux.go:638: too many errors
make: *** [daemon] Error 2

from containerd.

cdrage avatar cdrage commented on May 14, 2024

Same here:

github.com/docker/containerd  master ✔                                                                                               4d  ⍉
▶ go version
go version go1.5.2 linux/amd64

github.com/docker/containerd  master ✔                                                                                                4d  
▶ uname -r
3.16.0-4-amd64

github.com/docker/containerd  master ✔                                                                                                4d  
▶ go get -d -v github.com/docker/containerd/ctr
github.com/syndtr/gocapability (download)
github.com/vishvananda/netlink (download)
github.com/opencontainers/specs (download)

github.com/docker/containerd  master ✔                                                                                                4d  
▶ go get -d -v github.com/docker/containerd/containerd
github.com/cloudfoundry/gosigar (download)
github.com/cyberdelia/go-metrics-graphite (download)
github.com/rcrowley/go-metrics (download)

github.com/docker/containerd  master ✔                                                                                                4d  
▶ make
cd ctr && go build -o ../bin/ctr
cd containerd && go build -tags "libcontainer" -o ../bin/containerd
# github.com/docker/containerd/linux
../linux/linux.go:417: process.InitializeIO undefined (type *libcontainer.Process has no field or method InitializeIO)
../linux/linux.go:452: process.InitializeIO undefined (type *libcontainer.Process has no field or method InitializeIO)
../linux/linux.go:624: undefined: configs.Resources
../linux/linux.go:627: cr.Resources undefined (type *configs.Cgroup has no field or method Resources)
../linux/linux.go:629: cannot convert r.Memory.Limit (type *uint64) to type int64
../linux/linux.go:630: cannot convert r.Memory.Reservation (type *uint64) to type int64
../linux/linux.go:631: cannot convert r.Memory.Swap (type *uint64) to type int64
../linux/linux.go:632: cannot convert r.Memory.Kernel (type *uint64) to type int64
../linux/linux.go:633: cannot convert r.Memory.Swappiness (type *uint64) to type int64
../linux/linux.go:634: cannot convert r.CPU.Shares (type *uint64) to type int64
../linux/linux.go:634: too many errors
Makefile:27: recipe for target 'daemon' failed
make: *** [daemon] Error 2

from containerd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.