Skip to content

Can not run gvisor at rockylinux 9.3 with docker 26.1.2 #10441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
9Bakabaka opened this issue May 14, 2024 · 2 comments
Closed

Can not run gvisor at rockylinux 9.3 with docker 26.1.2 #10441

9Bakabaka opened this issue May 14, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@9Bakabaka
Copy link

9Bakabaka commented May 14, 2024

Description

I can not run the gvisor at the rockylinux 9.3. When i run the ct with --runtime=runsc. I got an this error.

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v2.task/moby/fc17ec50f04645235419e5e65642c1669d4407ba95e8e470b8c7fb99ddee08f0/log.json: no such file or directory): /usr/local/bin/runsc did not terminate successfully: exit status 1: systemd cgroup flag passed, but systemd cgroups not supported. See gvisor.dev/issue/193
: unknown.

I see that the issue 193 was in the year of 2019. However, when i searched from the google, it say that the gvisor is support the cgroups v2

Steps to reproduce

No response

runsc version

[root@localhost ~]# runsc -version
runsc version release-20201216.0-72-gbf343394d498
spec: 1.0.1-dev
[root@localhost ~]#

docker version (if using docker)

[root@localhost ~]# docker info
Client: Docker Engine - Community
 Version:    26.1.2
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.14.0
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.27.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 1
 Server Version: 26.1.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: runc runsc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: e377cd56a71523140ca6ae87e30244719194a521
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.14.0-427.16.1.el9_4.x86_64
 Operating System: Rocky Linux 9.4 (Blue Onyx)
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 7.504GiB
 Name: localhost.localdomain
 ID: 27fc6c1c-d003-430c-9d50-486b97644548
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

[root@localhost ~]#

uname

Linux localhost.localdomain 5.14.0-427.16.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 8 17:48:14 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

kubectl (if using Kubernetes)

No response

repo state (if built from source)

No response

runsc debug logs (if available)

No response

@9Bakabaka 9Bakabaka added the type: bug Something isn't working label May 14, 2024
@milantracy
Copy link
Contributor

You are using a pretty old runsc, could you try it with a newer version

@9Bakabaka
Copy link
Author

Promble has been solved when i using the latest version from the source code. Thanks for the reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants