Home Explore Blog CI



docker

content/guides/java/_index.md
066e16640246b373803238c2c83b1f2abfc58dc1b6b39ea30000000300000473
---
title: Java language-specific guide
linkTitle: Java
keywords: java, getting started
description: Containerize Java apps using Docker
summary: |
  This guide demonstrates how to containerize Java applications using Docker.
toc_min: 1
toc_max: 2
aliases:
  - /language/java/
  - /guides/language/java/
languages: [java]
params:
  time: 20 minutes
---

The Java getting started guide teaches you how to create a containerized Spring Boot application using Docker. In this module, you’ll learn how to:

- Containerize and run a Spring Boot application with Maven
- Set up a local development environment to connect a database to the container, configure a debugger, and use Compose Watch for live reload
- Run your unit tests inside a container
- Configure a CI/CD pipeline for your application using GitHub Actions
- Deploy your containerized application locally to Kubernetes to test and debug your deployment

After completing the Java getting started modules, you should be able to containerize your own Java application based on the examples and instructions provided in this guide.

Get started containerizing your first Java app.

Chunks
710a25ad (1st chunk of `content/guides/java/_index.md`)
Title: Introduction to Containerizing Java Applications with Docker
Summary
This guide introduces how to containerize Java applications using Docker, specifically focusing on Spring Boot applications. It covers containerizing with Maven, setting up a development environment with database connection and live reload, running unit tests in a container, configuring CI/CD pipelines with GitHub Actions, and deploying to Kubernetes for testing and debugging. The goal is to enable users to containerize their own Java applications.