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

[FEATURE] Support for containerd/lima as a runtime #751

Open
ferhatying opened this issue Sep 21, 2021 · 3 comments
Open

[FEATURE] Support for containerd/lima as a runtime #751

ferhatying opened this issue Sep 21, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request priority/high
Milestone

Comments

@ferhatying
Copy link

Is your feature request related to a problem or a Pull Request

A lot of people are using k3d in combination with Docker Desktop for Mac/Windows. Docker Desktop for Mac/Windows is closed source and proprietary. It would be great if we could combine k3d with an open source alternative on the desktop. Support for Docker seems to be hardcoded right now in https://github.com/rancher/k3d/blob/main/pkg/runtimes/runtime.go.

I'm aware that Rancher Desktop does use Lima and k3s/containerd under the hood.

Scope of your request

A new runtime for k3d next to the existing runtime (Docker) at https://github.com/rancher/k3d/blob/main/pkg/runtimes/runtime.go.

Describe the solution you'd like

Add a new runtime under https://github.com/rancher/k3d/blob/main/pkg/runtimes for lima/containerd. Allow users to configure the default runtime (e.g. with a configuration file).

@ferhatying ferhatying added the enhancement New feature or request label Sep 21, 2021
@iwilltry42
Copy link
Member

Hi @ferhatying , thanks for opening this issue!
This is definitely something I'd like to add in the future 😄
It just takes quite some effort, as we're relying on the SDKs here. Back then, we had initial support for plain containerd but ran into version conflicts with containerd used by docker...

@iwilltry42 iwilltry42 added this to the v5.2.0 milestone Sep 21, 2021
@iwilltry42 iwilltry42 self-assigned this Sep 21, 2021
@iwilltry42 iwilltry42 modified the milestones: v5.3.0, v5.4.0 Dec 20, 2021
@iwilltry42 iwilltry42 modified the milestones: v5.4.0, v6.0.0 Feb 18, 2022
@sathuish
Copy link

sathuish commented Feb 3, 2023

@iwilltry42 Any updates on this? Do you have any idea when we will start supporting the containerd runtime in k3d?

@claywd
Copy link

claywd commented May 16, 2023

Could you get away with using nerdctl to interface with containerd instead of trying to interface directly with the containerd runtime? basically use nerdctl as a drop in replacement for docker.

Update this isn't going to happen. We still need the docker Deamon even if its the replacement provided by rancher desktop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/high
Projects
None yet
Development

No branches or pull requests

4 participants