You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a PR "updating' the runc version to 1.1.4 https://github.com/moby/moby/pull/44038/files
But this is only a change on the packaging level. The runc codebase in vendor/ is still on the older version.
Is there any plan of updating the runc src version inside docker/docker ?
Thanks
Reproduce
go run main.go
Expected behavior
project should compile sucessfully
docker version
Client: Docker Engine - Community
Version: 20.10.17
API version: 1.41
Go version: go1.17.11
Git commit: 100c701
Built: Mon Jun 6 23:02:57 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.17.11
Git commit: a89b842
Built: Mon Jun 6 23:01:03 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
scan: Docker Scan (Docker Inc., v0.17.0)
WARNING: Plugin "/home/saurabh/.docker/cli-plugins/docker-buildx" is not valid: failed to fetch metadata: fork/exec /home/saurabh/.docker/cli-plugins/docker-buildx: no such file or directory
WARNING: Plugin "/home/saurabh/.docker/cli-plugins/docker-compose" is not valid: failed to fetch metadata: fork/exec /home/saurabh/.docker/cli-plugins/docker-compose: no such file or directory
Server:
Containers: 9
Running: 3
Paused: 0
Stopped: 6
Images: 2
Server Version: 20.10.17
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc version: v1.1.4-0-g5fd4c4d
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.13.0-41-generic
Operating System: Ubuntu 20.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.33GiB
Name: SAURABH-UBUNTU
ID: QT35:XHFC:SKNS:4NVM:WYJO:HUYV:BLKC:RIGI:BCHG:TSA7:LLWJ:RWL4
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
status/0-triagekind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
1 participant
Converted from issue
This discussion was converted from issue #44133 on September 13, 2022 11:45.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
With docker/docker v20.10.18, we are unable to build our project which also requires runc v1.1.3 or above
Apparently, the package is looking for type Device in package configs at Lines 15,27 here https://github.com/moby/moby/blob/v20.10.18/oci/devices_linux.go.
However, the struct Device is actaully present in the devices package in runc https://github.com/opencontainers/runc/blob/v1.1.4/libcontainer/devices/device.go
The runc version being used curently is 1.0.0 - rc92. https://github.com/moby/moby/tree/v20.10.18/vendor/github.com/opencontainers
For our project , due to securiy vulnerabilities in runc we need to use runc 1.13 or above. That's conflicting with docker/docker.
There was a PR "updating' the runc version to 1.1.4 https://github.com/moby/moby/pull/44038/files
But this is only a change on the packaging level. The runc codebase in vendor/ is still on the older version.
Is there any plan of updating the runc src version inside docker/docker ?
Thanks
Reproduce
go run main.go
Expected behavior
project should compile sucessfully
docker version
docker info
Additional Info
No response
Beta Was this translation helpful? Give feedback.
All reactions