Skip to content

Commit 473f6cc

Browse files
author
Ravi Sankar
committed
added an image
1 parent eb8c3bc commit 473f6cc

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

SimpeDevOpsProjects/Project-4.MD

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ In this project, we will be see how to *use Git, Jenkins, Ansible, DockerHub, Do
2020

2121
In *part-01* we create Docker image on ansible server through Jenkins job and pushed it onto DockerHub.
2222

23-
### Part-01:
23+
### Part-01 : Create an docker image
24+
2425
1. Launch an EC2 instance for Docker host
2526
1. Install docker on EC2 instance and start services
2627
```sh
@@ -82,7 +83,7 @@ In *part-01* we create Docker image on ansible server through Jenkins job and pu
8283
8384
In *Part-02* we create *create_docker_container.yml* playbook. this get intiated by jenkins job, run by ansible and exected on dokcer_host
8485
85-
### Part-02
86+
### Part-02 : Deploy to Containers
8687
8788
1. Write a yml file to create a container (file name : create_docker_container.yml)
8889
```yaml
@@ -116,7 +117,8 @@ Troubleshooting:
116117
Makesure you have opened required ports on AWS Security group for this server.
117118
118119
In *Part-03* we try to improvise to store docker images previous versions
119-
### Part-03
120+
121+
### Part-03 : Deploy with Version Control Containers
120122
121123
So for we used latest docker image to build a container, but what happens if latest version is not working?
122124
One easiest solution is, maintaining version for each build. This can be achieved by using environment variables.

0 commit comments

Comments
 (0)