Skip to content
Fresh

Java

Back

Guides

Java language-specific guide

This guide demonstrates how to containerize Java applications using Docker.

Java

20 minutes

1

Containerize your app

2

Develop your app

3

Run your tests

4

Configure CI/CD

5

Test your deployment

« Back to all guides

Java language-specific guide


This guide demonstrates how to containerize Java applications using Docker.

Time to complete20 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.

Modules

  1. Containerize your app Learn how to containerize a Java application.

  2. Develop your app Learn how to develop your application locally.

  3. Run your tests How to build and run your Java tests

  4. Configure CI/CD Learn how to Configure CI/CD for your Java application

  5. Test your deployment Learn how to develop locally using Kubernetes