[Feature Request] Provide details when throwing errors
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- docker, go
- Ambito
- api, operating-systems
Direzione di ricerca
Inizia tracciando i percorsi dell'API HCS rappresentati da hcs::System::CreateProcess e hcs::CreateComputeSystem, usando come esempi gli errori Docker segnalati. Determina come i dettagli degli errori potrebbero essere esposti al motore Docker, quindi definisci test che verifichino che per questi errori vengano restituiti i parametri o altro contesto diagnostico.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, when trying to launch my Windows Container from Docker, HCS just throws:
docker: Error response from daemon: container 46a5305c0e305a9b5e7ef5fd746478ea9211b61d136fc7a08b8e4468939514a7 encountered an error during hcs::System::CreateProcess: c:\windows\system32\cmd.exe: failure in a Windows system call: The user name or password is incorrect. (0x52e)
[Event Detail: Provider: 00000000-0000-0000-0000-000000000000].
When I'm trying to mount a bind-mount to the same container, HCS just throws:
docker: Error response from daemon: hcs::CreateComputeSystem cf0c577360d731d6e09be5c1eec629751c3891eba85353163c0978cc0c293054: The request is not supported.
There is no context provided, no stack trace … nothing. So, it's impossible to research and find a remedy for the issue.
Please add a function to the HCS API providing details about the error thrown (parameters, stack trace etc.), so the Docker engine is able to output these. It will lower the amount of GitHub and StackOverflow issues and lower your burdon to handle these.
see these GitHub issues:
- Lingua principale
- Go
- Stelle
- 694
- Fork
- 304
- Merge medio
- 1g 19h
- PR unite (30g)
- 28
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/hcsshim
-
Stdin handle required to avoid conpty race condition upon WCOW container startup with terminal Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 62/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
Tutte le issue di microsoft/hcsshim
Issue simili
-
kind/bug needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
matrixorigin/matrixone#29223 ·
-
needs-acceptance wg/data-plane-networking
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/semantic-router#4024 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
alexgorbatchev/dotfiles#107 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100