Support listing Compose projects with nerdctl compose ls
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
--allfor 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_fileson containers created by Compose; older containers lacking the label showN/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.
- Lenguaje dominante
- Go
- Estrellas
- 10.4k
- Forks
- 834
- Merge medio
- 2 d 14 h
- PR fusionados (30 d)
- 30
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de containerd/nerdctl
-
Test and examples: update wordpress images (to silence potential false security alerts)Posiblemente ocupada @ayushpratap27 la tomó hace 1 día. Abiertoarea/ci documentation priority/low
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
containerd/nerdctl#5283 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
area/ci platform/FreeBSD
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
containerd/nerdctl#5275 ·
Los mantenedores suelen responder en 2 días
-
`nerdctl kill` shouldn't set `containerd.io/restart.explicitly-stopped` label for non-stop signalsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
containerd/nerdctl#5171 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
nerdctl checkpoint rm requires the container to exist, so a checkpoint whose container was removed can never be removed and its directory stays in the data rootPosiblemente ocupada @jonyhy96 la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
containerd/nerdctl#5282 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
area/ci platform/FreeBSD
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
containerd/nerdctl#5273 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de containerd/nerdctl
Issues similares
-
compress: block buffers get re-zeroed on every call, and the zeroing is immediately overwrittenAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ClickHouse/ch-go#1218 ·
Los mantenedores suelen responder en 13 días
-
effort:s impact:low raised-by:reviewer risk:low
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
medici-finance/assay#4251 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
automation models
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
golang-migrate/migrate#1457 ·
-
Make --data-dir a required flagAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día