Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support listing Compose projects with nerdctl compose ls

Aperta
#5,285 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@Mistyheart ci sta già lavorando.

Dal 22/10/2026.

  • #5286 di @Mistyheart — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
cli

Direzione di ricerca

The issue describes nerdctl compose ls behavior and says a focused implementation with tests is already prepared; related missing-command work is tracked in #3867. Read the proposed behavior and inspect the open pull request #5286 first. Completion would require the listing, filtering, output, config-file labels, and validation tests described here, with daemon integration validation still pending.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What is the problem you're trying to solve?

nerdctl compose ls is listed as unimplemented in the command reference. Listing Compose projects currently requires knowing their compose-file locations or inspecting container labels manually.

Describe the solution you'd like

Add nerdctl compose ls to list projects in the selected containerd namespace without loading a compose file from the current directory.

Proposed behavior follows Docker Compose's documented command:

  • Show running projects by default, with --all for stopped/created/paused containers.
  • Support table/JSON output, --quiet, and repeatable --filter name=REGEXP.
  • Summarize container states per project and show the config-file paths.
  • Record com.docker.compose.project.config_files on containers created by Compose; older containers lacking the label show N/A.

A focused implementation with aggregation, filtering, output, and validation tests is prepared. Related to the missing-command work tracked in #3867.

AI tools assisted with implementation and tests. Local Docker Desktop cannot start due to its Ingest socket error, so daemon integration validation is still pending; unit tests do not require a running daemon.

Lingua principale
Go
Stelle
10.4k
Fork
834
Merge medio
2g 14h
PR unite (30g)
30

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di containerd/nerdctl

Tutte le issue di containerd/nerdctl

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.