How to Setup Docker in Jenkins on Mac
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
- Once the Jenkins is setup download and install the docker plugin in Jenkins
- Open Finder and search for the folder “ cellar”
- Find the folder jenkins-lts
- Open the file named “homebrew.mxcl.jenkins-lts.plist”
- Make the following changes
6. Restart the Jenkins Service
brew services restart jenkins-lts