spring-cloud-dataflow icon indicating copy to clipboard operation
spring-cloud-dataflow copied to clipboard

OCI runtime exec failed: exec failed: unable to start container process: exec: "java": executable file not found in $PATH: unknown error when i try to run spring cloud dataflow shell

Open tusharnitharwal opened this issue 2 years ago • 2 comments

Description: I tried following the dataflow install tutorial [(https://dataflow.spring.io/docs/installation/local/docker/#using-the-shell)] and got the error "OCI runtime exec failed: exec failed: unable to start container process: exec: "java": executable file not found in $PATH: unknown". I tried this by appending bash and /bin/sh still doesn't work.

Release versions: Following the tutorial for 2.9.4(latest) [https://dataflow.spring.io/docs/installation/local/docker/] which uses dataflow version 2.9.2.

Steps to reproduce: [https://dataflow.spring.io/docs/installation/local/docker/]

Screenshots: image

Additional context: I can't find java even when i navigate into the image using bash. Can't even find shell.jar inside the image using "find . -name shell.jar"

tusharnitharwal avatar Aug 08 '22 09:08 tusharnitharwal

Are you using sdkman ?

gmolteni-navent avatar Sep 18 '22 13:09 gmolteni-navent

Are you using sdkman ?

no

tusharnitharwal avatar Sep 18 '22 18:09 tusharnitharwal

https://github.com/spring-io/dataflow.spring.io/pull/459

corneil avatar Sep 29 '22 20:09 corneil

Ooops, at some point we didn't package the shell in the container. For now we just updated the instructions where you download the uberjar and run it. No plans to put the shell in the container image. If incorrect, let me know @corneil

markpollack avatar Oct 07 '22 18:10 markpollack

@markpollack no specific plans.

corneil avatar Oct 07 '22 19:10 corneil