genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.89k stars 230 forks source link

compatibility to crun runtime #255

Open pwFoo opened 5 years ago

pwFoo commented 5 years ago

https://github.com/giuseppe/crun runtime is a c written alternative to runc with seems to work fine, but used with img it fails because of the version check img is doing.

/ # img pull alpine 
Error: unable to check runc version

crun --version

crun 0.7
spec: 1.0.0
+SELINUX +CAP +SECCOMP +EBPF +YAJL

runc --version

runc version spec: 1.0.1-dev

Is it possible to change the version check to make img compatible to crun runtime?

issue-label-bot[bot] commented 5 years ago

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.