CI Handson With Docker
CI Handson With Docker
https://github.com/DEVOPS-WITH-WEB-DEV/jenkins-share
d-library1.git
https://github.com/DEVOPS-WITH-WEB-DEV/spring-cloud-k
ubernetes.git
PREREQUISITES
1)AWS LOGIN
2)DOCKER HUB LOGIN
3)GITHUB HUB LOGIN
**** COST WILL OCCUR IN AWS ACCOUNT BELOW 100
Rupees***
https://github.com/praveen1994dec/tools_installatio
n_scripts/blob/main/jenkins.sh
su – jenkins
https://github.com/praveen1994dec/tools_installatio
n_scripts/blob/main/docker.sh
https://github.com/praveen1994dec/spring-cloud-ku
bernetes/blob/main/kubernetes-configmap-reload/Je
nkinsfile -> Copy that Jenkinsfile -> Paste it in
Pipeline Script in Jenkins
Step 11 - SELECT BUILD WITH PARAMETERS [ IF FAILS
AGAIN START THE PIPELINE ]
Action – create
ImageName - kubernetes-configmap-reload
ImageTag – v1
AppName - kubernetes-configmap-reload
Docker_repo – Give your Docker Hub account ID
DOCKER LOGIN
docker images
docker network ls
Command 5 – Connect the container with the created
network
http://<EC2IP>:8081/home/data