Install and Configure Docker On Jenkins:

Table of contents

No heading

No headings in the article.

#After installing docker on Jenkins Server
#Add docker user to the group of jenkins

sudo usermod -aG docker jenkins

#Restart Jenkins
sudo systemctl restart jenkins

#Check status of Jenkins
sudo systemctl status jenkins

Now you can use docker cmds on Jenkins