Open peter-jerry-ye opened 11 months ago
This doc is for configuring youki on docker engine on Linux - https://docs.docker.com/engine/alternative-runtimes/#youki
In your docker info output, you're connecting to docker desktop. Docker desktop manages its own Linux VM where it runs docker engine, so the engine won't be able to find the youki binaries you downloaded.
Here's a doc on how to set up wasm on docker desktop, maybe that will help? https://docs.docker.com/desktop/wasm/
Hello,
Thank you for your response. I'd like to customize a docker runtime for wasm to provide more host functions other than the standard wasi.
So is it possible to use a customized shim (like a io.containerd.wasmtime.v1 but compiled by myself) with Docker Desktop? Or other runtimes such as crun / youki? Or should I use a VM instead?
Thank you.
发件人: Nick Santos @.> 发送时间: 2023年12月10日 2:01 收件人: docker/for-win @.> 抄送: Zihang Ye @.>; Author @.> 主题: Re: [docker/for-win] Docker fail to retrieve OCI runtime (youki) (Issue #13836)
This doc is for configuring youki on docker engine on Linux - https://docs.docker.com/engine/alternative-runtimes/#youki
In your docker info output, you're connecting to docker desktop. Docker desktop manages its own Linux VM where it runs docker engine, so the engine won't be able to find the youki binaries you downloaded.
Here's a doc on how to set up wasm on docker desktop, maybe that will help? https://docs.docker.com/desktop/wasm/
― Reply to this email directly, view it on GitHubhttps://github.com/docker/for-win/issues/13836#issuecomment-1848601062, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD7U6XOANLCKVWFTLBVDJ3DYISRPZAVCNFSM6AAAAABAN2IFZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGYYDCMBWGI. You are receiving this because you authored the thread.Message ID: @.***>
This tool may help with what you want to do: https://github.com/jprendes/docker-desktop-shim-manager
You can look at the scripts in that repo, but it will help put your shim where it needs be located for Docker Desktop to find it.
The usage would be something like: dd-shim-mngr install IMAGE
Thank you for your help. I'll check that.
发件人: Sam Thibault @.> 发送时间: 2023年12月12日 18:10 收件人: docker/for-win @.> 抄送: Zihang Ye @.>; Author @.> 主题: Re: [docker/for-win] Docker fail to retrieve OCI runtime (youki) (Issue #13836)
This tool may help with what you want to do: https://github.com/jprendes/docker-desktop-shim-manager You can look at the scripts in that repo, but it will help put your shim where it needs be located for Docker Desktop to find it. The usage would be something like: dd-shim-mngr install IMAGE
― Reply to this email directly, view it on GitHubhttps://github.com/docker/for-win/issues/13836#issuecomment-1851730593, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD7U6XMU6NWZAAX2GA5OV6TYJAUTFAVCNFSM6AAAAABAN2IFZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJRG4ZTANJZGM. You are receiving this because you authored the thread.Message ID: @.***>
Description
I'd like to use youki as runtime. I followed the instruction on the docker doc, installed youki and configured json file. However, when I run it, it fails to retrieve the OCI runtime with the following error
and
/var/run/desktop-containerd
does not existReproduce
docker run --rm --runtime youki hello-world
Expected behavior
Docker executes as if running with runc
docker version
docker info
Diagnostics ID
7FBE6D48-34BA-48DC-B18A-B6A24A286650/20231209140657
Additional Info
No response