tilt-dev / tilt

Define your dev environment as code. For microservice apps on Kubernetes.
https://tilt.dev/
Apache License 2.0
7.53k stars 296 forks source link

Add support for nerdctl with Rancher Desktop #5476

Open nxf5025 opened 2 years ago

nxf5025 commented 2 years ago

Describe the Feature You Want

Rancher Desktop has switched from kim to nerdctl in October 2021 - https://github.com/rancher-sandbox/rancher-desktop/pull/709. This feature request is to add support for nerdctl builds.

Current Behavior

No way to build images with Rancher Desktop and containerd runtime

Why Do You Want This?

With the Docker Desktop pricing model changes a lot of users have migrated to Rancher Desktop. Although dockerd is a runtime option containerd should still be supported.

Additional context Add any other context or screenshots about the feature request here.

landism commented 2 years ago

Thanks for the report!

Also, as was pointed out on Slack, just to note here - new versions of Rancher Desktop no longer have Kim, making our existing Tilt+Rancher Desktop instructions obsolete.

nicks commented 2 years ago

for what it's worth - you should be able to do this with a custom_build extension (like people did with the old kim tool that rancher desktop had) https://docs.tilt.dev/custom_build.html

nicks commented 2 years ago

https://github.com/tilt-dev/tilt-extensions/pull/342