Skip to content

Commit 01a592a

Browse files
authored
Update README.MD
1 parent 491922b commit 01a592a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.MD

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ This repository contains methods to Dockerize Java Projects.
1414

1515
- ###### [Dockerizing HelloWorld Java Application](https://github.com/rahulvaish/Docker-Java/tree/HelloDocker/HelloWorldJavaDocker)
1616
###### This example illustrates how to Dockerize a simple Java Project. [[Source Code]](https://github.com/rahulvaish/Docker-Java/tree/HelloDocker)
17-
* Download the HelloWorldJavaDocker project.
18-
* Navigate inside the HelloWorldJavaDocker project folder from Terminal.
19-
* Execute the below commands-
20-
![image](https://user-images.githubusercontent.com/689226/50370746-6195f780-05d2-11e9-90b9-b34824d24a36.png)
21-
![image](https://user-images.githubusercontent.com/689226/50370760-9609b380-05d2-11e9-8beb-73244f00a763.png)
22-
* Check Docker Hub: [[Docker Hub URL]](https://cloud.docker.com/repository/docker/rahulvaish/helloworldjavadocker)
23-
![image](https://user-images.githubusercontent.com/689226/50370779-f0a30f80-05d2-11e9-9421-947f4c90d509.png)
24-
To run the image on Docker: </br>
25-
![image](https://user-images.githubusercontent.com/689226/53510292-a44ce200-3ae3-11e9-95cc-aa1c10bbf99e.png)
26-
17+
<img width="1287" alt="image" src="https://user-images.githubusercontent.com/689226/210193168-aadb4d2f-add4-46ee-8bd3-379b545b0737.png">
18+
<img width="1076" alt="image" src="https://user-images.githubusercontent.com/689226/210193296-677a4a81-61fd-4c81-9a38-2c04fabb340a.png">
19+
<img width="1435" alt="image" src="https://user-images.githubusercontent.com/689226/210193357-b993c27b-8d4d-4e5b-a33a-83823b2b83d2.png">
20+
21+
- Now, **tag** your image and **push** on Docker Hub. Execute the below commands:
22+
- docker login --username=rahulvaish
23+
- Enter your password (on prompt)
24+
- docker tag helloworldjavadocker rahulvaish/helloworldjavadocker
25+
- docker push rahulvaish/helloworldjavadocker
26+
<img width="806" alt="image" src="https://user-images.githubusercontent.com/689226/210193600-5899fc6c-0506-4d02-bcae-7ac8104556e7.png">
27+
2728
<hr>
2829

2930
- ###### [Dockerizing SpringBoot Application](https://github.com/rahulvaish/Docker-Java/tree/SpringBootDocker)
3031
###### This example illustrates how to Dockerize a SpringBoot Project. [[Source Code]](https://github.com/rahulvaish/Docker-Java/tree/SpringBootDocker)
31-
<img width="1728" alt="image" src="https://user-images.githubusercontent.com/689226/210188180-34499ca2-d80b-44fb-be59-0432138fcbd9.png">
32-
<img width="1642" alt="image" src="https://user-images.githubusercontent.com/689226/210188193-406cc1f0-67b8-424a-9627-060e0881d267.png">
33-
<img width="1723" alt="image" src="https://user-images.githubusercontent.com/689226/210188233-129c85a8-36c9-4400-9cdb-d2da767b1970.png">
34-
<img width="382" alt="image" src="https://user-images.githubusercontent.com/689226/210188343-e0cd9f17-af3f-4c96-9d98-6aea5be05087.png">
32+
<img width="1728" alt="image" src="https://user-images.githubusercontent.com/689226/210188180-34499ca2-d80b-44fb-be59-0432138fcbd9.png">
33+
<img width="1642" alt="image" src="https://user-images.githubusercontent.com/689226/210188193-406cc1f0-67b8-424a-9627-060e0881d267.png">
34+
<img width="1723" alt="image" src="https://user-images.githubusercontent.com/689226/210188233-129c85a8-36c9-4400-9cdb-d2da767b1970.png">
35+
<img width="382" alt="image" src="https://user-images.githubusercontent.com/689226/210188343-e0cd9f17-af3f-4c96-9d98-6aea5be05087.png">
3536

3637
- Now, **tag** your image and **push** on Docker Hub. Execute the below commands:
3738
- docker login --username=rahulvaish
3839
- Enter your password (on prompt)
3940
- docker tag springbootdocker rahulvaish/springbootdocker
4041
- docker push rahulvaish/springbootdocker
41-
- Check Docker Hub:[[Docker Hub URL]](https://cloud.docker.com/u/rahulvaish/repository/docker/rahulvaish/springbootdocker)
42-
![image](https://user-images.githubusercontent.com/689226/50370495-c00ca700-05cd-11e9-97a3-1f33262301b7.png)
42+
<img width="810" alt="image" src="https://user-images.githubusercontent.com/689226/210193571-6b418088-5b9c-44ca-962d-369d2b3adf85.png">
4343

4444

4545

0 commit comments

Comments
 (0)