Nerdctl as a library (documentation and API work)

Open
#4,339 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go

Research direction

Start with the linked discussion #4337 for the background, then inspect the existing Go APIs under pkg that the issue identifies as the integration point. Determine the documentation and API boundaries needed to make simple container execution approachable, including logging and OCI hooks. Done means the public API is simpler and its usage and related complexity are documented.

Written by the indexing model from the issue text.

Description

kind/feature
What is the problem you're trying to solve

See https://github.com/containerd/nerdctl/discussions/4337 for context.

Building a simple cli that just runs a container is not trivial for newcomers, and certainly requires significant familiarity with nerdctl internals to get it to work.

Furthermore, the "API" is largely undocumented, and there are a number of extra things to implement on-top of using pkg (hooking of logging and oci-hooks).

Describe the solution you'd like

Suggesting:

  1. documentation
  2. express a better / simpler API hiding away some of the complexity
Additional context

No response

Dominant language
Go
Stars
10.5k
Forks
853
Avg merge
6d 14h
Merged PRs (30d)
38

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/nerdctl

All issues in containerd/nerdctl

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.