Comments (2)
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.
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)
- EBS volume mount failed to resolve path for mount source for Windows containers in containerd 1.7.4+ HOT 2
- ctr v2.0.0 : failed to run container with --mount options HOT 1
- v2.0: add back imgcrypt HOT 2
- docker image ls does not show images loaded from a tar file HOT 1
- [cri] ListPodSandboxStats should skip sandboxes whose tasks are missing HOT 1
- localhost registry using nodeport gets upgraded to HTTPS and HTTP fallback does not work as expected HOT 4
- failed size validation when trying to pull via gcp artifact registry mirror HOT 1
- Support `v8.x` and `v9.x` architecture variants for `arm64`
- crictl show container status is running even container is exited. HOT 4
- Error parsing hosts.toml without any `host` tree HOT 3
- Deleting the image actually failed HOT 1
- `ctr images export` and `ctr images import` are incongruous HOT 3
- Local content store with label store HOT 2
- Containerd not able to pull images from harbor repository. HOT 1
- container exec may hang on containerd version 1.7.14 HOT 7
- Image pull progress
- Cannot use IPv6 literal in registry mirror endpoint HOT 8
- ctr exec hang when use containerd 1.6.31 HOT 4
- introspectRuntimeFeatures crashes containerd service startup (untrusted runtime plugin) HOT 4
- Bizarre unauthorised image pull errors for mirror registry
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 containerd.