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

Add a `doctor` command

Aperta
#1,572 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, node.js, typescript
Ambito
cli, devtools

Direzione di ricerca

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.

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

Descrizione

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.
Lingua principale
TypeScript
Stelle
2.6k
Fork
274
Merge medio
1g 14h
PR unite (30g)
44

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 testcontainers/testcontainers-node

Tutte le issue di testcontainers/testcontainers-node

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.