CICD simple Project part 4
Docker integration in Jenkins
sudo yum update -y
sudo yum install docker -y
sudo systemctl enable docker.service
sudo systemctl start docker.service
systemctl status docker.service
sudo usermod -a -G docker jenkins
sudo service jenkins restart
#Please update this command as per video , I can't add greater than sign here. remove # and add greater than sign before Dockerfile
#echo "FROM centos" Dockerfile
docker build -t helloworld .
docker run -it -d helloworld
docker ps