[docker] error OCI runtime create failed

Problems with packages? Post here, using [tags] of the package name.

[docker] error OCI runtime create failed

Postby fnjn2ii3 » Thu May 20, 2021 7:47 pm

Hello, I just upgraded Arch Linux ARM today and after rebooting I can no longer run docker containers and I'm wondering if anyone can help

error
$this->bbcode_second_pass_code('', '$ sudo docker run hello-world
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: load program: invalid argument: unknown.
ERRO[0000] error waiting for container: context canceled')

journalctl logs for docker.service when the above command is run
$this->bbcode_second_pass_code('', 'May 20 19:26:32 odroid dockerd[7086]: time="2021-05-20T19:26:32.350386235Z" level=info msg="starting signal loop" namespace=moby path=/run/docker/containerd/daemon/io.containerd.runtime.v2.task/moby/a875a104734247b216a8da518b8e6ecd12a8776588b4b86b210f52bbfb80287e pid=7924
May 20 19:26:32 odroid dockerd[7086]: time="2021-05-20T19:26:32.520339498Z" level=info msg="shim disconnected" id=a875a104734247b216a8da518b8e6ecd12a8776588b4b86b210f52bbfb80287e
May 20 19:26:32 odroid dockerd[7086]: time="2021-05-20T19:26:32.520569462Z" level=warning msg="cleaning up after shim disconnected" id=a875a104734247b216a8da518b8e6ecd12a8776588b4b86b210f52bbfb80287e namespace=moby
May 20 19:26:32 odroid dockerd[7086]: time="2021-05-20T19:26:32.520627755Z" level=info msg="cleaning up dead shim"
May 20 19:26:32 odroid dockerd[7086]: time="2021-05-20T19:26:32.549147915Z" level=warning msg="cleanup warnings time=\"2021-05-20T19:26:32Z\" level=info msg=\"starting signal loop\" namespace=moby pid=7976\n"
May 20 19:26:32 odroid dockerd[7086]: time="2021-05-20T19:26:32.550299904Z" level=error msg="copy shim log" error="read /proc/self/fd/13: file already closed"
May 20 19:26:32 odroid dockerd[7054]: time="2021-05-20T19:26:32.551576187Z" level=error msg="stream copy error: reading from a closed fifo"
May 20 19:26:32 odroid dockerd[7054]: time="2021-05-20T19:26:32.551826860Z" level=error msg="stream copy error: reading from a closed fifo"
May 20 19:26:32 odroid dockerd[7054]: time="2021-05-20T19:26:32.719594566Z" level=error msg="a875a104734247b216a8da518b8e6ecd12a8776588b4b86b210f52bbfb80287e cleanup: failed to delete container from containerd: no such container"
May 20 19:26:32 odroid dockerd[7054]: time="2021-05-20T19:26:32.719712902Z" level=error msg="Handler for POST /v1.41/containers/a875a104734247b216a8da518b8e6ecd12a8776588b4b86b210f52bbfb80287e/start returned error: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: load program: invalid argument: unknown"')

docker version
$this->bbcode_second_pass_code('', '$ sudo docker version
Client:
Version: 20.10.6
API version: 1.41
Go version: go1.16.3
Git commit: 370c28948e
Built: Mon Apr 12 17:03:09 2021
OS/Arch: linux/arm64
Context: default
Experimental: true

Server:
Engine:
Version: 20.10.6
API version: 1.41 (minimum version 1.12)
Go version: go1.16.3
Git commit: 8728dd246c
Built: Mon Apr 12 17:02:33 2021
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: v1.5.1
GitCommit: 12dca9790f4cb6b18a6a7a027ce420145cb98ee7.m
runc:
Version: 1.0.0-rc95
GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
docker-init:
Version: 0.19.0
GitCommit: de40ad0')

docker info
$this->bbcode_second_pass_code('', 'sudo docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Build with BuildKit (Docker Inc., v0.5.1-tp-docker)

Server:
Containers: 12
Running: 0
Paused: 0
Stopped: 12
Images: 18
Server Version: 20.10.6
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
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 logentries splunk syslog
Swarm: inactive
Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
Default Runtime: runc
Init Binary: docker-init
containerd version: 12dca9790f4cb6b18a6a7a027ce420145cb98ee7.m
runc version: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
init version: de40ad0
Security Options:
seccomp
Profile: default
cgroupns
Kernel Version: 4.9.219-1-ARCH
Operating System: Arch Linux ARM
OSType: linux
Architecture: aarch64
CPUs: 6
Total Memory: 3.623GiB
Name: odroid
ID: HCSN:DECD:NVM3:7KPL:W36N:IKH3:HL3F:GGER:XQCD:UZGV:Y65O:3QX6
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

WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No cpu shares support
WARNING: No cpuset support')

pacman logs for the upgrade (I hadn't upgraded in a while)
$this->bbcode_second_pass_code('', '[2021-05-20T17:38:53+0000] [PACMAN] Running '/usr/bin/pacman --sync --refresh'
[2021-05-20T17:38:53+0000] [PACMAN] synchronizing package lists
[2021-05-20T17:39:53+0000] [PACMAN] Running '/usr/bin/pacman --sync --sysupgrade --quiet --noconfirm'
[2021-05-20T17:39:53+0000] [PACMAN] starting full system upgrade
[2021-05-20T18:16:38+0000] [ALPM] transaction started
[2021-05-20T18:16:38+0000] [ALPM] upgraded linux-api-headers (5.8-1 -> 5.12.3-1)
[2021-05-20T18:16:38+0000] [ALPM] upgraded tzdata (2020f-1 -> 2021a-1)
[2021-05-20T18:16:38+0000] [ALPM] upgraded iana-etc (20201229-1 -> 20210202-1)
[2021-05-20T18:16:38+0000] [ALPM] upgraded attr (2.4.48-3 -> 2.5.1-1)
[2021-05-20T18:16:38+0000] [ALPM] upgraded acl (2.2.53-3 -> 2.3.1-1)
[2021-05-20T18:16:39+0000] [ALPM] upgraded ncurses (6.2-1 -> 6.2-2)
[2021-05-20T18:16:39+0000] [ALPM] upgraded readline (8.1.0-2 -> 8.1.001-1)
[2021-05-20T18:16:39+0000] [ALPM] upgraded bash (5.1.004-1 -> 5.1.008-1)
[2021-05-20T18:16:39+0000] [ALPM] upgraded util-linux-libs (2.36.1-4 -> 2.36.2-1)
[2021-05-20T18:16:40+0000] [ALPM] upgraded e2fsprogs (1.45.6-3 -> 1.46.2-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded openssl (1.1.1.i-2 -> 1.1.1.k-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded libldap (2.4.56-1 -> 2.4.58-2)
[2021-05-20T18:16:41+0000] [ALPM] upgraded krb5 (1.18.2-1 -> 1.19.1-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded audit (3.0-1 -> 3.0.1-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded bash-completion (2.11-1 -> 2.11-2)
[2021-05-20T18:16:41+0000] [ALPM] upgraded bridge-utils (1.7-1 -> 1.7.1-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded findutils (4.7.0-2 -> 4.8.0-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded libtirpc (1.3.1-1 -> 1.3.2-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded libxcrypt (4.4.17-1 -> 4.4.20-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded libcap (2.46-1 -> 2.49-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded libgpg-error (1.41-1 -> 1.42-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded libgcrypt (1.8.7-1 -> 1.9.3-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded zstd (1.4.8-1 -> 1.4.9-1)
[2021-05-20T18:16:41+0000] [ALPM] upgraded libtasn1 (4.16.0-1 -> 4.17.0-1)
[2021-05-20T18:16:42+0000] [ALPM] upgraded systemd-libs (247.2-1 -> 248.3-2)
[2021-05-20T18:16:42+0000] [ALPM] upgraded ca-certificates-mozilla (3.60.1-1 -> 3.65-1)
[2021-05-20T18:16:42+0000] [ALPM] upgraded runc (1.0.0rc92-1 -> 1.0.0rc95-1)
[2021-05-20T18:16:45+0000] [ALPM] upgraded containerd (1.4.3-1 -> 1.5.1-1)
[2021-05-20T18:16:45+0000] [ALPM] upgraded device-mapper (2.02.187-3 -> 2.03.12-1)
[2021-05-20T18:16:45+0000] [ALPM] upgraded cryptsetup (2.3.4-1 -> 2.3.5-4)
[2021-05-20T18:16:45+0000] [ALPM] upgraded libssh2 (1.9.0-2 -> 1.9.0-3)
[2021-05-20T18:16:45+0000] [ALPM] upgraded libnghttp2 (1.41.0-1 -> 1.43.0-1)
[2021-05-20T18:16:45+0000] [ALPM] upgraded libidn2 (2.3.0-1 -> 2.3.1-1)
[2021-05-20T18:16:45+0000] [ALPM] upgraded curl (7.74.0-1 -> 7.76.1-1)
[2021-05-20T18:16:45+0000] [ALPM] upgraded libelf (0.182-1 -> 0.184-1)
[2021-05-20T18:16:45+0000] [ALPM] upgraded expat (2.2.10-2 -> 2.3.0-1)
[2021-05-20T18:16:45+0000] [ALPM] upgraded iproute2 (5.10.0-2 -> 5.12.0-1)
[2021-05-20T18:16:46+0000] [ALPM] upgraded sqlite (3.34.0-1 -> 3.35.5-1)
[2021-05-20T18:16:46+0000] [ALPM] upgraded tar (1.33-1 -> 1.34-1)
[2021-05-20T18:16:51+0000] [ALPM] upgraded docker (1:20.10.2-4 -> 1:20.10.6-1)
[2021-05-20T18:16:51+0000] [ALPM] upgraded gdbm (1.19-1 -> 1.19-2)
[2021-05-20T18:16:51+0000] [ALPM] upgraded libnsl (1.3.0-1 -> 1.3.0-2)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python (3.9.1-1 -> 3.9.5-2)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python-yaml (5.3.1-4 -> 5.4.1.1-2)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python-six (1.15.0-3 -> 1.16.0-1)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python-websocket-client (0.57.0-3 -> 0.59.0-1)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python-chardet (3.0.4-7 -> 4.0.0-2)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python-idna (2.10-3 -> 3.1-1)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python-urllib3 (1.26.2-1 -> 1.26.4-1)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python-cffi (1.14.4-1 -> 1.14.5-1)
[2021-05-20T18:16:53+0000] [ALPM] upgraded python-cryptography (3.3.1-1 -> 3.4.7-1)
[2021-05-20T18:16:54+0000] [ALPM] upgraded python-docker (4.4.1-1 -> 5.0.0-1)
[2021-05-20T18:16:54+0000] [ALPM] upgraded python-click (7.1.2-3 -> 8.0.0-2)
[2021-05-20T18:16:54+0000] [ALPM] upgraded python-dotenv (0.15.0-3 -> 0.17.1-1)
[2021-05-20T18:16:54+0000] [ALPM] upgraded python-packaging (20.8-2 -> 20.9-1)
[2021-05-20T18:16:54+0000] [ALPM] upgraded python-setuptools (1:51.3.3-1 -> 1:56.1.0-1)
[2021-05-20T18:16:54+0000] [ALPM] upgraded python-zipp (3.4.0-3 -> 3.4.1-1)
[2021-05-20T18:16:54+0000] [ALPM] upgraded python-importlib-metadata (3.4.0-1 -> 4.0.1-1)
[2021-05-20T18:16:54+0000] [ALPM] upgraded docker-compose (1.28.0-1 -> 1.29.2-1)
[2021-05-20T18:16:56+0000] [ALPM] upgraded perl (5.32.0-3 -> 5.32.1-1)
[2021-05-20T18:16:58+0000] [ALPM] upgraded icu (68.2-1 -> 69.1-1)
[2021-05-20T18:16:58+0000] [ALPM] upgraded libxml2 (2.9.10-8 -> 2.9.10-9)
[2021-05-20T18:16:58+0000] [ALPM] upgraded glib2 (2.66.4-2 -> 2.68.2-1)
[2021-05-20T18:16:58+0000] [ALPM] upgraded nettle (3.7-1 -> 3.7.2-1)
[2021-05-20T18:16:59+0000] [ALPM] upgraded gnutls (3.7.0-1 -> 3.7.1-1)
[2021-05-20T18:17:04+0000] [ALPM] upgraded emacs-nox (27.1-2 -> 27.2-1)
[2021-05-20T18:17:04+0000] [ALPM] upgraded file (5.39-1 -> 5.40-3)
[2021-05-20T18:17:04+0000] [ALPM] upgraded hwids (20200813.1-1 -> 20201207-1)
[2021-05-20T18:17:04+0000] [ALPM] upgraded iputils (20200821-1 -> 20210202-1)
[2021-05-20T18:17:04+0000] [ALPM] upgraded kbd (2.3.0-2 -> 2.4.0-2)
[2021-05-20T18:17:04+0000] [ALPM] upgraded less (563-1 -> 1:581.2-1)
[2021-05-20T18:17:04+0000] [ALPM] upgraded libassuan (2.5.4-1 -> 2.5.5-1)
[2021-05-20T18:17:04+0000] [ALPM] upgraded libedit (20191231_3.1-3 -> 20210419_3.1-1)
[2021-05-20T18:17:23+0000] [ALPM] upgraded linux-firmware (20201218.646f159-1 -> 20210511.7685cf4-1)
[2021-05-20T18:17:23+0000] [ALPM] upgraded mkinitcpio-busybox (1.32.1-2 -> 1.32.1-3)
[2021-05-20T18:17:23+0000] [ALPM] upgraded util-linux (2.36.1-4 -> 2.36.2-1)
[2021-05-20T18:17:24+0000] [ALPM] warning: /etc/systemd/homed.conf installed as /etc/systemd/homed.conf.pacnew
[2021-05-20T18:17:24+0000] [ALPM] warning: /etc/systemd/resolved.conf installed as /etc/systemd/resolved.conf.pacnew
[2021-05-20T18:17:25+0000] [ALPM] upgraded systemd (247.2-1 -> 248.3-2)
[2021-05-20T18:17:25+0000] [ALPM-SCRIPTLET] Creating group sgx with gid 975.
[2021-05-20T18:17:25+0000] [ALPM-SCRIPTLET] Creating group systemd-oom with gid 974.
[2021-05-20T18:17:25+0000] [ALPM-SCRIPTLET] Creating user systemd-oom (systemd Userspace OOM Killer) with uid 974 and gid 974.
[2021-05-20T18:17:25+0000] [ALPM] upgraded mpfr (4.1.0-1 -> 4.1.0-2)
[2021-05-20T18:17:25+0000] [ALPM] upgraded mkinitcpio (29-1 -> 30-1)
[2021-05-20T18:17:25+0000] [ALPM] upgraded npth (1.6-2 -> 1.6-3)
[2021-05-20T18:17:25+0000] [ALPM] upgraded openssh (8.4p1-2 -> 8.6p1-1)
[2021-05-20T18:17:25+0000] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2021-05-20T18:17:25+0000] [ALPM] upgraded pacman-mirrorlist (20200808-1 -> 20210307-1)
[2021-05-20T18:17:25+0000] [ALPM] upgraded pinentry (1.1.0-5 -> 1.1.1-1)
[2021-05-20T18:17:25+0000] [ALPM] upgraded pacman (5.2.2-1 -> 5.2.2-4)
[2021-05-20T18:17:25+0000] [ALPM] upgraded procps-ng (3.3.16-2 -> 3.3.17-1)
[2021-05-20T18:17:25+0000] [ALPM] upgraded psmisc (23.3-4 -> 23.4-1)
[2021-05-20T18:17:26+0000] [ALPM] upgraded sudo (1.9.5.p1-1 -> 1.9.7-1)
[2021-05-20T18:17:26+0000] [ALPM] upgraded systemd-sysvcompat (247.2-1 -> 248.3-2)
[2021-05-20T18:17:26+0000] [ALPM] upgraded vi (1:070224-4 -> 1:070224-5)
[2021-05-20T18:17:26+0000] [ALPM] transaction completed
[2021-05-20T18:17:26+0000] [ALPM] running '20-systemd-sysusers.hook'...
[2021-05-20T18:17:26+0000] [ALPM] running '30-systemd-catalog.hook'...
[2021-05-20T18:17:26+0000] [ALPM] running '30-systemd-daemon-reload.hook'...
[2021-05-20T18:17:26+0000] [ALPM] running '30-systemd-hwdb.hook'...
[2021-05-20T18:17:27+0000] [ALPM] running '30-systemd-sysctl.hook'...
[2021-05-20T18:17:27+0000] [ALPM] running '30-systemd-tmpfiles.hook'...
[2021-05-20T18:17:27+0000] [ALPM] running '30-systemd-udev-reload.hook'...
[2021-05-20T18:17:27+0000] [ALPM] running '30-systemd-update.hook'...
[2021-05-20T18:17:27+0000] [ALPM] running '40-update-ca-trust.hook'...
[2021-05-20T18:17:29+0000] [ALPM] running '90-linux-odroid-n2.hook'...
[2021-05-20T18:17:29+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-odroid-n2.preset: 'default'
[2021-05-20T18:17:29+0000] [ALPM-SCRIPTLET] -> -k 4.9.219-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2021-05-20T18:17:29+0000] [ALPM-SCRIPTLET] ==> Starting build: 4.9.219-1-ARCH
[2021-05-20T18:17:29+0000] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2021-05-20T18:17:30+0000] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2021-05-20T18:17:30+0000] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2021-05-20T18:17:30+0000] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2021-05-20T18:17:30+0000] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2021-05-20T18:17:30+0000] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2021-05-20T18:17:30+0000] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2021-05-20T18:17:31+0000] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2021-05-20T18:17:31+0000] [ALPM-SCRIPTLET] ==> WARNING: No modules were added to the image. This is probably not what you want.
[2021-05-20T18:17:31+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2021-05-20T18:17:33+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2021-05-20T18:17:33+0000] [ALPM] running '90-mkinitcpio-install.hook'...
[2021-05-20T18:17:33+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-odroid-n2.preset: 'default'
[2021-05-20T18:17:33+0000] [ALPM-SCRIPTLET] -> -k 4.9.219-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2021-05-20T18:17:33+0000] [ALPM-SCRIPTLET] ==> Starting build: 4.9.219-1-ARCH
[2021-05-20T18:17:33+0000] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2021-05-20T18:17:34+0000] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2021-05-20T18:17:34+0000] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2021-05-20T18:17:34+0000] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2021-05-20T18:17:34+0000] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2021-05-20T18:17:34+0000] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2021-05-20T18:17:34+0000] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2021-05-20T18:17:34+0000] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2021-05-20T18:17:35+0000] [ALPM-SCRIPTLET] ==> WARNING: No modules were added to the image. This is probably not what you want.
[2021-05-20T18:17:35+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2021-05-20T18:17:37+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2021-05-20T18:17:37+0000] [ALPM] running '91-uboot-uimg.hook'...
[2021-05-20T18:17:38+0000] [ALPM-SCRIPTLET] Image Name: Ramdisk Image
[2021-05-20T18:17:38+0000] [ALPM-SCRIPTLET] Created: Thu May 20 18:17:37 2021
[2021-05-20T18:17:38+0000] [ALPM-SCRIPTLET] Image Type: AArch64 Linux RAMDisk Image (uncompressed)
[2021-05-20T18:17:38+0000] [ALPM-SCRIPTLET] Data Size: 7070278 Bytes = 6904.57 KiB = 6.74 MiB
[2021-05-20T18:17:38+0000] [ALPM-SCRIPTLET] Load Address: 00000000
[2021-05-20T18:17:38+0000] [ALPM-SCRIPTLET] Entry Point: 00000000
[2021-05-20T18:17:38+0000] [ALPM] running 'dbus-reload.hook'...
[2021-05-20T18:17:38+0000] [ALPM] running 'detect-old-perl-modules.hook'...')

uname
$this->bbcode_second_pass_code('', '$ uname -a
Linux odroid 4.9.219-1-ARCH #1 SMP PREEMPT Tue Apr 21 00:14:49 UTC 2020 aarch64 GNU/Linux')
fnjn2ii3
 
Posts: 4
Joined: Thu May 20, 2021 7:33 pm

Re: [docker] error OCI runtime create failed

Postby fnjn2ii3 » Mon May 24, 2021 1:44 pm

am I the only one around here running into these problems? Can anybody else try it out and update their system and then try to run docker to be able to confirm if its just me?
$this->bbcode_second_pass_code('', 'sudo pacman -Syu
sudo pacman -S --needed docker
sudo docker run hello-world')
fnjn2ii3
 
Posts: 4
Joined: Thu May 20, 2021 7:33 pm

Re: [docker] error OCI runtime create failed

Postby fnjn2ii3 » Tue May 25, 2021 2:33 pm

Ok, the folks at github [1] runc helped me out and pointed out that the issue seems to be related to cgroup v2 not having all the support it needs to run containers.

So the workaround that I did to get it fixed was to use cgroup v1 and this how I did it:

- add $this->bbcode_second_pass_code('', 'systemd.unified_cgroup_hierarchy=0') to the kernel parameters through editing /boot/boot.ini and appending that parameter to the line that starts with $this->bbcode_second_pass_code('', 'setenv bootargs "root=/dev/mmcblk${devno}p2 rootwait ...')

[1] https://github.com/opencontainers/runc/issues/2959
fnjn2ii3
 
Posts: 4
Joined: Thu May 20, 2021 7:33 pm

Re: [docker] error OCI runtime create failed

Postby satcom886 » Fri Jul 16, 2021 8:53 pm

Thank you so much for posting the solution, I genuinely thought I'm going crazy and I'm the only person on the planet with this issue.
satcom886
 
Posts: 3
Joined: Fri Jan 24, 2020 6:02 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 10 guests