containerd / containerd/nerdctl

Facilitate usage of nerdctl as a library to build other clients

Open
#3,380 2 comments 0 reactions 0 assignees View on GitHub
kind/feature
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

### What is the problem you're trying to solve

I do maintain a fork for my own use, that contains radical changes that do not fit here.

As such, I want "my" nerdctl binary to be named differently, and also use different config, storage locations and labels names to avoid conflicts.

Generally, people looking at building their own x-ctl should be able to leverage nerdctl codebase to do that.

The problem right now is that "nerdctl" is hardcoded in a bunch of places, making that task rather pedestrian and error prone.

### Describe the solution you'd like

Suggesting that "nerdctl" strings across the codebase are reviewed and at least turned into constants that would be easy to change - or better, maybe we overload global config with a "Name" property that would default to "nerdctl" of course.

Let me know what the team here thinks about this use-case, and possible solutions.

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.