abiosoft / abiosoft/colima

Unable to launch containers that require systemd due to use of Alpine (OpenRC) as hypervisor

Đang mở
#369 8 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description

I'm unable to launch containers on colima that require systemd and mounted cgroup directories, a notable container being freeipa

```
[root@ipa /]# stat /sys/fs/cgroup /sys/fs/cgroup/systemd
File: /sys/fs/cgroup
Size: 300 Blocks: 0 IO Block: 4096 directory
Device: 0,62 Inode: 1 Links: 15
Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-07-23 20:57:45.070000200 +0000
Modify: 2022-07-23 20:57:45.070000200 +0000
Change: 2022-07-23 20:57:45.070000200 +0000
Birth: -
stat: cannot statx '/sys/fs/cgroup/systemd': No such file or directory
```

### 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

- [X] macOS Intel
- [ ] macOS M1
- [ ] Linux

### Reproduction Steps

1. Launch freeipa, with mountings for `/sys/fs/cgroup`
2. Watch as it instantly crashes with code `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 https://github.com/kubernetes-sigs/kind/issues/2778

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.