Install and Configure Docker On Jenkins:
#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 cmd...
siddhantgupta.hashnode.dev1 min read