How to Setup Docker in Jenkins on Mac

Harshit Yadav
Sep 28, 2021

--

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 :

--

--

Harshit Yadav
Harshit Yadav

Written by Harshit Yadav

Software Developer | Azure Solution Architect Expert | Technical Writer | harshityadav.in