Harshit Yadav

Solving the error docker command not found while running docker command inside jenkins

  • Install the Jenkins via Homebrew
  • Install Docker from the Docker website
  1. Once the Jenkins is setup download and install the docker plugin in Jenkins
  2. Open Finder and search for the folder “ cellar”
  3. Find the folder jenkins-lts
  4. Open the file named “homebrew.mxcl.jenkins-lts.plist”
  5. Make the following changes

6. Restart the Jenkins Service

brew services restart jenkins-lts

Reference :

--

--