Skip to content
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

[Rust] Support youki #664

Closed
juntao opened this issue Nov 19, 2021 · 9 comments
Closed

[Rust] Support youki #664

juntao opened this issue Nov 19, 2021 · 9 comments
Labels

Comments

@juntao
Copy link
Member

juntao commented Nov 19, 2021

Youki is a Rust-based OCI runtime. It is an alternative to runc and crun. We should add support for WasmEdge in Youki via our Rust SDK.

https://rustrepo.com/repo/containers-youki-rust-deployment

@juntao juntao added integration priority:low help wanted Extra attention is needed labels Nov 19, 2021
@vss96
Copy link
Contributor

vss96 commented Nov 22, 2021

Hi, I'm interested in picking this up but I'm not sure where to start, can you guide me a little?

@juntao
Copy link
Member Author

juntao commented Nov 22, 2021

Great! I think you can study how crun added WasmEdge support using our C API here:

containers/crun#774

Since youki is basically a Rust implementation of crun, I believe you can use our Rust SDK to do the same.

https://github.com/WasmEdge/WasmEdge/tree/master/bindings/rust

@utam0k
Copy link

utam0k commented Oct 25, 2022

@juntao Hi, I'm a member of the youki team. We already have support for wasm.
https://containers.github.io/youki/user/webassembly.html

What next step should we take?

@juntao
Copy link
Member Author

juntao commented Oct 25, 2022

Hi @utam0k

Thank you for reaching out! We would like to support WasmEdge in Youki. A major difference between WasmEdge and other wasm runtimes is that you can create and run complete microservices in WasmEdge, which is important for the "Wasm as a container alternative" use case. See an example we created with Docker:

https://github.com/second-state/microservice-rust-mysql

We are preparing a PR for your review to support multiple Wasm runtimes, including WasmEdge in Youki. Thank you.

Cheers
Michael

@utam0k
Copy link

utam0k commented Nov 30, 2022

@juntao
Can we update the issue status? because the PR got merged!!
containers/youki#1320

@juntao juntao closed this as completed Nov 30, 2022
@utam0k
Copy link

utam0k commented Feb 26, 2023

@juntao I think we should write the docs for youki like crun, right?
https://wasmedge.org/book/en/use_cases/kubernetes/container/youki.html

@alabulei1
Copy link
Contributor

@juntao I think we should write the docs for youki like crun, right? https://wasmedge.org/book/en/use_cases/kubernetes/container/youki.html

Hi @utam0k Yes, we definitely need a doc for youki. We're organising our new docs in the wasmedge/docs repo. We would appreciate it if you could take a moment to review it and give us your feedback. Thank you. You can access the chapter at the following link: https://github.com/WasmEdge/docs/blob/main/docs/develop/deploy/oci-runtime/youki.md.

@utam0k
Copy link

utam0k commented Mar 22, 2023

Hi @utam0k Yes, we definitely need a doc for youki. We're organising our new docs in the wasmedge/docs repo. We would appreciate it if you could take a moment to review it and give us your feedback. Thank you. You can access the chapter at the following link: https://github.com/WasmEdge/docs/blob/main/docs/develop/deploy/oci-runtime/youki.md.

@alabulei1
Sorry for the late 🙇 🙇 I think it's perfect. However, it might be a good idea to link to a document that we maintain better.
https://containers.github.io/youki/user/webassembly.html

@alabulei1
Copy link
Contributor

Hi @utam0k Yes, we definitely need a doc for youki. We're organising our new docs in the wasmedge/docs repo. We would appreciate it if you could take a moment to review it and give us your feedback. Thank you. You can access the chapter at the following link: https://github.com/WasmEdge/docs/blob/main/docs/develop/deploy/oci-runtime/youki.md.

@alabulei1 Sorry for the late 🙇 🙇 I think it's perfect. However, it might be a good idea to link to a document that we maintain better. https://containers.github.io/youki/user/webassembly.html

No problem. Will do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants