Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add a `doctor` command

Abierto
#1,572 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
docker, node.js, typescript
Área
cli, devtools

Línea de trabajo

Start with the package manifest at packages/testcontainers/package.json and the bug report template at .github/ISSUE_TEMPLATE/bug_report.md. Read the work in #1571 for per-strategy rejection reasons and coordinate with #1569 on effective configuration. Done means the new npx testcontainers doctor command prints the listed runtime, configuration, registry, Ryuk, Compose, Node, and platform details, and the bug report template asks for its output.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement minor

What happens

Diagnosing an environment problem means reading debug logs. The bug report template asks for the full DEBUG=testcontainers* output plus the OS, runtime, Node version and test runner, typed in by hand. There is no single place that shows what Testcontainers detected.

Expected

A command that prints a diagnosis that can be pasted into an issue:

npx testcontainers doctor
  • the runtime strategy chosen, and why the others were rejected
  • host, socket path, host IPs, runtime name and version
  • which configuration is in effect, from environment variables and .testcontainers.properties
  • whether registry credentials were found for the default registry
  • whether Ryuk can be started and reached
  • whether Docker Compose is available, and its version
  • Node version and platform

The bug report template then asks for this output.

Where

  • a new bin entry in packages/testcontainers/package.json
  • .github/ISSUE_TEMPLATE/bug_report.md

Notes

  • The package has no bin today.
  • The same data could be exposed as a function for use in a test setup file.

Dependencies

  • Blocked by #1571: it prints the per-strategy reasons that issue collects.
  • Coordinate with #1569: for reporting the effective configuration.
Lenguaje dominante
TypeScript
Estrellas
2.6k
Forks
274
Merge medio
1 d 14 h
PR fusionados (30 d)
44

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de testcontainers/testcontainers-node

Todos los issues de testcontainers/testcontainers-node

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.