Skip to content
Advertisement

“b’OCI runtime create failed: container_linux.go:380?

Client Error: Bad Request (“b’OCI runtime create failed: container_linux.go:380: starting container process caused: exec: “/usr/lib/jvm/java-8-openjdk-amd64/bin/java”: stat /usr/lib/jvm/java-8-openjdk-amd64/bin/java: no such file or directory: unknown'”)

this my error ,I cann’t fix this ,when I use docker-compose and docker my version

JavaScript

Dockerfile

JavaScript

docker-compose.yml

JavaScript

docker-compose.node-java.yml

JavaScript

Any suggestion will help !!!

thank you very much

Advertisement

Answer

I think the path to the java executable in the image is different than the one you used. Can you try and replace the path in your DOCKERFILE like so?

JavaScript

I used the following procedure to find that out:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement