hcengineering / hcengineering/huly-selfhost

Rekoni container lacks support for Cgroups V2

Open
#78 3 comments 0 reactions 1 assignee Claimed by @aonnikov View on GitHub
Dominant language
Shell
Stars
3.5k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

Running the traefik based stack results in the following error:

rekoni Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. 0.0s
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: openat2 /sys/fs/cgroup/docker/4ce536b99bbb24431dc1c6d9425fd245716ec357b0fce971fcbdd2ec76831c26/memory.max: no such file or directory: unknown

All other container start fine, but the Rekoni one doesn't. Some googling resulted in the lack of support of Cgroups V2 as the memory.max attribute is only present in Cgroups v1. Comparable errors seem to be solved when downgrading Cgroups to V1: https://forum.proxmox.com/threads/lxc-container-memory-current-no-such-file-or-directory.130428/

For me, however, that is not an option, because I utilize V2 exclusive functions.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.