-
Notifications
You must be signed in to change notification settings - Fork 294
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
Introduction for beginners? #154
Comments
The easiest way would probably be to use crun through a container engine such as Podman or CRI-O if you care about Kubernetes. FAIK, there is some work in progress for supporting crun also in containerd and in Moby/Docker. Assuming you have a container image at
At this point, you can tweak I'd still suggest though to use it through a higher level tool as you won't have to worry about storage, or setup a network namespace beforehand |
Interesting. Thank you. I think this information belongs to README to make it clear how Crun is expected to be used. So how to use Crun with Podman, specifically? Is it documented anywhere? |
in the Podman man page there is some info on how to configure and use a different OCI runtime: https://github.com/containers/libpod/blob/master/docs/source/markdown/podman.1.md |
Thank you. It is quite easy to plug Crun to Podman by having the following in the
|
thanks for confirming it works for you. Can we close the issue? |
I was hoping for some changes to README - just a few words about how to use Crun with Podman and a few words that Crun is a replacement to Runc rather than an alternative to rkt, Docker, etc... |
yes that sounds like a good idea. Would you mind to open a PR with these improvements for the README file? I'll be happy to review it |
Hi, could you tell us what is the roadmap of crun project? It will replace the runc as the default runtime component in openshift? |
@warmchang We have not made any decisions on that, at this point. Originally crun was for support for cgroupV2, but it also has some interesting features that runc does not, and @giuseppe is looking into adding additional features. |
@rhatdan I got it, and thank you for reply. |
I would love to see some changes to README please, as requested here: #154 (comment) Thanks. |
could you open a PR with the changes you'd like to add? |
Since no PR was generated I am going to close. |
https://docs.openshift.com/container-platform/4.12/nodes/containers/nodes-containers-using.html#nodes-containers-runtimes |
I'm struggling to learn how to use Crun. Is there an intro with examples how to run a container, etc.?
Thanks.
The text was updated successfully, but these errors were encountered: