Skip to content

Commit b9245c1

Browse files
committed
more details if docker daemon is down
1 parent fe72f5b commit b9245c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/docker/DockerService.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ class DockerService {
8989
private fun isDockerDaemonDownExitValue(exitValue: String): Boolean {
9090
return exitValue.contains("Cannot connect to the Docker daemon", true) ||//mac, linux
9191
exitValue.contains("docker daemon is not running", true) || //win
92-
exitValue.contains("The system cannot find the file specified", true) || //win
92+
//this is an error on windows with docker desktop that will be solved by starting docker desktop
93+
(exitValue.contains("error during connect", true) && exitValue.contains("The system cannot find the file specified", true)) || //win
9394
exitValue.contains("Error while fetching server API version", true)
9495
}
9596

0 commit comments

Comments
 (0)