GoogleContainerTools/skaffold

Add error code and actionable message for minikube guest status error code

Aperta

#6195 aperta il 13 lug 2021

 (0 commenti) (0 reazioni) (0 assegnatari)Go (1416 fork)batch import
area/errorsbugbash/q4-2022help wantedkind/feature-requestneeds-actionable-errorpriority/p3

Metriche repository

Star
 (12.822 stelle)
Metriche merge PR
 (Merge medio 3g 6h) (16 PR mergiate in 30 g)

Descrizione

While testing I had restarted my docker desktop.

skaffold dev
invalid skaffold config: getting minikube env: running [/usr/local/bin/minikube docker-env --shell none -p minikube --user=skaffold]
 - stdout: "false exit code 80\n"
 - stderr: "X Exiting due to GUEST_STATUS: state: unknown state \"minikube\": docker container inspect minikube --format=: exit status 1\nstdout:\n\n\nstderr:\nError response from daemon: dial unix docker.raw.sock: connect: connection refused\n\n* \n╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\n│                                                                                                                               │\n│    * If the above advice does not help, please let us know:                                                                   │\n│      https://github.com/kubernetes/minikube/issues/new/choose                                                                 │\n│                                                                                                                               │\n│    * Please attach the following file to the GitHub issue:                                                                    │\n│    * - /var/folders/gk/s778hvkj0lb0zl95ywvw0snr00cfc0/T/minikube_docker-env_82c5ad3171faed17430d191f235b0322cd2f0c3c_0.log    │\n│                                                                                                                               │\n╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n\n"
 - cause: exit status 80

Guida contributor