Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

feat: support nerdctl engine#58

Open
darktohka wants to merge 1 commit into
joschi:mainfrom
darktohka:feature/joschi-nerdctl
Open

feat: support nerdctl engine#58
darktohka wants to merge 1 commit into
joschi:mainfrom
darktohka:feature/joschi-nerdctl

Conversation

@darktohka

Copy link
Copy Markdown

Right now, there is no support for nerdctl, a pretty nifty container CLI for containerd: https://github.com/containerd/nerdctl

This PR adds support for a new image source: nerdctl

This image source is supported on all OSes, nerdctl has support for Linux, Windows and Darwin as well.

Nerdctl saves images using nerdctl image save <id>. If this errors (the image may not exist), nerdctl pull <id> is tried to pull the image if possible.

Nerdctl can also build images the same way as the Docker CLI (nerdctl build --iidfile)

@joschi

joschi commented Feb 1, 2025

Copy link
Copy Markdown
Owner

@darktohka Thanks a lot for your contribution!

Do you think you could add an integration test for this functionality?

Maybe looking into how kind is doing it for nerdctl and Podman might help:

@joschi joschi force-pushed the feature/joschi-nerdctl branch from e1cedd7 to 7ef27e3 Compare February 20, 2025 22:01
@joschi

joschi commented Mar 23, 2025

Copy link
Copy Markdown
Owner

@darktohka With https://github.com/wagoodman/dive being maintained again, you might want to open a pull request there to add support for nerdctl in the upstream project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants