[DEV] J-Jay

ERROR: error during connect: this error may indicate that the docker daemon is not running 본문

Trouble Shooting/Error

ERROR: error during connect: this error may indicate that the docker daemon is not running

J-Jay 2024. 4. 22. 21:44
728x90

 

문제
>./gradlew docker

 

 터미널에서 위 코드를 실행시 아래와 같은 에러가 발생했다.

> Configure project : 서비스명
task Jar명 output files

> Task :서비스명:docker FAILED
ERROR: error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/_ping": open //./pipe/docker_engine: The system cannot find the file specified.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':서비스명:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s
8 actionable tasks: 3 executed, 5 up-to-date

 

해결방법

 

Docekr Desktop 실행

 

끝.