Spring Cloud Data Flow : Cannot run program "docker" Spring Cloud Data Flow : Cannot run program "docker" kubernetes kubernetes

Spring Cloud Data Flow : Cannot run program "docker"


It looks like the docker command is not found by the SCDF local deployer's ProcessBuilder when it tries to run the docker exec from this path:

/tmp/spring-cloud-deployer-5769885450333766520/time-log-kinesis-stream-1539963209716/time-log-kinesis-stream.log-sink-kinesis-app-v1

The SCDF sets the above path as its working directory before running the docker command and hence docker is expected to run from this location.


I have found where was the issue. My bad, the problem is always between the keyboard and the chair !

I wanted to remove all the metrics process in the skipper-config.yaml file and I inserted a typo in the configuration file. The JSON env variable data.spring.application.json for the Skipper launch was not valid hence the DeployerInitializationService never saw the properties it needed to add Kubernetes into the repository !

Now in the logs and in the dataflow shell I have the default and the minikube accounts. Thanks for your help anyway :)