My Jenkins is running as a docker container and I’m building a Docker image using the pipeline. But I always get an error which says ‘Docker not found’.
[simple-tdd-pipeline] Running shell script
+ docker build -t simple-tdd .
/var/jenkins_home/workspace/simplepp/durable-
aec35159/script.sh: 2: /var/jenkins_home/workspace/simplepp/
durable-aec35159/script.sh: docker: not found