Hi guys, seems gradle is not recognizing docker. I...
# ktor
a
Hi guys, seems gradle is not recognizing docker. I’m using runDocker gradle task but I get:
Execution failed for task ':jibDockerBuild'.
> com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: Cannot run program "docker": error=2, No such file or directory
buildFatJar and buildImage are working well. Thanks in advance!!
a
Can you check that the
docker
command is available on the PATH?
a
Yes it is
“/usr/local/bin/docker”
Couldn’t find a solution for that. What could I try? Im using docker for mac
@Aleksei Tirman [JB]
a
Have you tried running the Gradle task using an external terminal?
a
Using
./gradlew runDocker
from commandline, it works
a
There might be a problem with detecting PATH environment variable in IntelliJ IDEA
265 Views