---
title: "Discussion on \"Deploying Java Application using Docker and Kubernetes- DevOps Project\" | Hashnode"
description: "Discussion on \"Deploying Java Application using Docker and Kubernetes- DevOps Project\". Hello Everyone, Welcome to the blog. In this blog, We going to see \"How to Deploy a Java Application using Docker and Kubernetes\". So, Let's start\nThe workflow of the project is going to be like this in the below image ⬇️⬇️\n\nSo, You have already inst..."
url: "https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Deploying Java Application using Docker and Kubernetes- DevOps Project](https://kubesimplify.hashnode.dev/deploying-java-application-using-docker-and-kubernetes-devops-project?utm_source=hashnode&utm_medium=feed)

Hello Everyone, Welcome to the blog. In this blog, We going to see "How to Deploy a Java Application using Docker and Kubernetes". So, Let's start The workflow of the project is going to be like this in the below image ⬇️⬇️ So, You have already inst...

Jan 9, 2023 · 5 min read · kubesimplify.hashnode.dev  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#docker](https://hashnode.com/tag/docker)
-   [#java](https://hashnode.com/tag/java)
-   [#devopsproject](https://hashnode.com/tag/devopsproject)

## Written by

[Tania Duggal](https://hashnode.com/@taniaduggal)

@taniaduggal · India , Punjab

  
[View profile](https://hashnode.com/@taniaduggal)

I am Tania from India currently learning DevOps technologies and explore myself in different fields.

## Responses 21

Markdown supported · ⌘↵ to post

[Hari Kishan Beerumota](https://hashnode.com/@harikishan468)

[Jun 13, 2024](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/666aa568518175a4b41912c2)

I am getting Build failure when i am running mvn clean install. \[INFO\] ------------------------------------------------------------------------ \[INFO\] BUILD FAILURE \[INFO\] ------------------------------------------------------------------------ \[INFO\] Total time: 2.712 s \[INFO\] Finished at: 2024-06-13T13:05:19+05:30 \[INFO\] ------------------------------------------------------------------------ \[ERROR\] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project shopfront: There are test failures. \[ERROR\] \[ERROR\] Please refer to /Users/harikishanbeerumota/k8sprojects/java-demo/docker-kubernetes-java-project/shopfront/target/surefire-reports for the individual test results. \[ERROR\] -> \[Help 1\] \[ERROR\] \[ERROR\] To see the full stack trace of the errors, re-run Maven with the -e switch. \[ERROR\] Re-run Maven using the -X switch to enable full debug logging. \[ERROR\] \[ERROR\] For more information about the errors and possible solutions, please read the following articles: \[ERROR\] \[Help 1\]

Can you please have a look at it?

[Madhu Boyina](https://hashnode.com/@mboyina)

[Apr 19, 2024](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/6621cfcc44b443885dd8ba0c)

Hi Tania, I am getting errors while doing mvn clean install., do i need to use any specific version of java.. i am using the latest version of "jdk - openjdk version "21.0.2" 2024-01-16

[Udayraj Dhavande](https://hashnode.com/@udayraj30)

[Jan 17, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63c670de9c3ecb5f6f0ee309)

I am not able access microservices from web browser ,and it says "Because you are using a Docker driver on linux, the terminal needs to be open to run it"

[Tania Duggal](https://hashnode.com/@taniaduggal)

[Jan 17, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63c670de9c3ecb5f6f0ee309#reply-63c67715d8644b60efb6aeba)

Hey, when you use docker driver on Linux, your terminal should not be terminate , your terminal should be open. Otherwise it is not accessible

[Udayraj Dhavande](https://hashnode.com/@udayraj30)

[Jan 18, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63c670de9c3ecb5f6f0ee309#reply-63c7e23bfc5a7c7b527b0323)

ok great, thank you[Tania Duggal](https://hashnode.com/@taniaduggal)

[Aditya Tripathi](https://hashnode.com/@tripathiaditya)

[Jan 12, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63c00ab8d693ac02f167f386)

Great explanation!!

[Vamshi Reddy](https://hashnode.com/@vamshireddy02)

[Jan 11, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63be7ffe428cb1e7e7e38d7f)

Well done Tania!!!...keep goingg😀

[Tania Duggal](https://hashnode.com/@taniaduggal)

[Jan 11, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63be7ffe428cb1e7e7e38d7f#reply-63befb06a54681f9eea74f49)

Thankyou for reading!

[Barkatul Mujauddin](https://hashnode.com/@barkatul)

[Jan 11, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63be4d41a02a7de436a3044d)

Awesome work Tania 👏

[Tania Duggal](https://hashnode.com/@taniaduggal)

[Jan 11, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63be4d41a02a7de436a3044d#reply-63befaed98bf52f9c9081d93)

Thankyou so much!!

[Srinivas Karnati](https://hashnode.com/@srinivaskarnati)

[Jan 11, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63be468e428cb1e7e7e380e8)

That's an awesome read Tania

[Tania Duggal](https://hashnode.com/@taniaduggal)

[Jan 11, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63be468e428cb1e7e7e380e8#reply-63befae298bf52f9c9081d8c)

Thankyou so much!!

[Madan Patil](https://hashnode.com/@madanp46)

[Jan 10, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bd5dd255c009e411585453)

Excellent blog Tania

[Shivani Tiwari](https://hashnode.com/@shivaniii)

[Jan 10, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bd3a6d55c009e411584d49)

Very well explained ✌️✌️great writing Tania ☺️🌟

[Naved Ahmad](https://hashnode.com/@NavedAhmad)

[Jan 10, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bd01261ec108d6419262d2)

Nice blog Tania You explained it very well

[Rahul kumar](https://hashnode.com/@Rahulblogs)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc3f361ec108d6419250d1)

Well explained, and informative

[Honey](https://hashnode.com/@9Honey)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc3ae1728cd4d666650e44)

Awesome blog keep sharing your knowledge

[Omkar Prajapati](https://hashnode.com/@omkarprajapati)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc259f20301ad1ecef64b7)

Great Work👏, I more likely into a Web.Dev, But DevOps part is Awesome.

[Adarsh jaiswal](https://hashnode.com/@Adarshjaiss)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc1fe201e9f4d4a5701900)

Informative!

[Bishal Das](https://hashnode.com/@bishal491)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc1f8e01e9f4d4a57018e6)

Nice blog with clear explanation!!

[Mudit Mishra](https://hashnode.com/@muditwt)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc1efc01e9f4d4a5701895)

Awesome work Tania🙌🏼

[Rajendra Nelakurthi](https://hashnode.com/@RajendraPN)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc1d0d20301ad1ecef53bc)

Great work Tania👏, keep going 🕸️

[Tania Duggal](https://hashnode.com/@taniaduggal)

[Jan 12, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc1d0d20301ad1ecef53bc#reply-63bfb90ed693ac02f167e7c6)

Thankyou so much!!

[Paakhi Iyer](https://hashnode.com/@paakhiiyer)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc1a5f01e9f4d4a5700e1d)

Such an insightful and easily understandable content. Loved reading it❤️

[Sahil Kumar](https://hashnode.com/@Sahilk19)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc195d01e9f4d4a5700dd0)

That was osm🔥good work

[Kelvin parmar](https://hashnode.com/@Kelvin-Parmar)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc190620301ad1ecef52d2)

Nice blog Tania 🤩 It will help to build my project Thank you😊

[Lovish Duggal](https://hashnode.com/@lovishduggal)

[Jan 9, 2023](https://hashnode.com/posts/deploying-java-application-using-docker-and-kubernetes-devops-project/63bc08f220301ad1ecef4354/comment/63bc119d20301ad1ecef4cef)

Great wrote up 🔥
