kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Rancher Desktop support

Open vfarcic opened this issue 2 years ago • 5 comments

Describe your problem

I'd love to use kpt, but it currently supports only Docker and Postman while I'm using Rancher Desktop (nerdctl, containerd). Would it be possible to add the support for nerdctl?

vfarcic avatar Jun 21 '22 14:06 vfarcic

Thanks @vfarcic for filing the request.

Quick read of nerdctl suggests that it is docker compatible. So you should be able to try kpt by creating an alias docker for nerdctl cmd.

/cc @mengqiy (who is our resident expert for function runtime)

droot avatar Jun 21 '22 20:06 droot

I already tried that (docker alias to nerdctl).

vfarcic avatar Jun 21 '22 21:06 vfarcic

Sorry for the late response, I was OOO for a couple of days.

I will try to add the support for nerdctl.

I already tried that (docker alias to nerdctl).

@vfarcic Is there any difference that worth mentioning here?

mengqiy avatar Jun 30 '22 21:06 mengqiy

My best guess is that kpt is going directly for Docker socket or something like that. I didn't go through the code (yet) so I'm likely wrong. In any case, making it work with nerdctl or with docker alias set to nerdctl would be awesome.

vfarcic avatar Jul 01 '22 12:07 vfarcic

@vfarcic We have added supporting for nerdctl in https://github.com/GoogleContainerTools/kpt/pull/3362. It has not been released yet but is available from HEAD of main.

mengqiy avatar Jul 15 '22 21:07 mengqiy

As per @mengqiy comment above, support for nerdctl has been added, so closing this.

droot avatar Jan 26 '23 15:01 droot