-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
Unable to launch containers that require systemd due to use of Alpine (OpenRC) as hypervisor #369
Comments
Appears to be a |
I'd like to reopen this issue as I believe I understand what's actually going on now. It isn't related to I do agree with the decision to migrate Colima to Alpine for 99.9% of all use cases as ultimately, OpenRC is better suited to what most people use docker for. However, I was wondering if it was at all possible for there to be a way to install custom images - I noticed that the internal colima config generation appears to be hard coded to a pinned version of Alpine with no way to suggest a custom image |
Can you give instructions on how to reproduce the issue? Also, is it something that works on Docker Desktop? The Ubuntu layer container ( But if cgroups v2 are needed, then it is not supported in the current image.
The Alpine image is custom with bundled dependencies, simply swapping it with Ubuntu wouldn't work. |
kubernetes-sigs/kind#2778 (comment) TLDR the majority of the container ecosystem really only tests under systemd and I don't recommend OpenRC for running container hosts |
I also wouldn't recommend musl + containers due to the dns resolver though wolfi does modified alpine with glibc I think. |
I am currently exploring the possibility of enabling cgroups v2 in Alpine. |
Any news? |
I am just getting some focus time for the project again. Hopefully there should be news within two weeks. |
Description
I'm unable to launch containers on colima that require systemd and mounted cgroup directories, a notable container being freeipa
Version
Colima Version:
colima version 0.4.4
Lima Version:
limactl version 0.11.2
Qemu Version:
qemu-img version 7.0.0
Operating System
Reproduction Steps
/sys/fs/cgroup
255
Expected behaviour
I would expect freeipa to work.
Additional context
This appears to be related with the switch from ubuntu to Alpine, therefore this is actually a regression. There is a couple of other bugs that this is related to, probably stuff like kubernetes-sigs/kind#2778
The text was updated successfully, but these errors were encountered: