Project

Run Java Jar (Docker)

7 completions
~ 7 hours
5.0

Gain hands-on experience in combining Java and Docker by creating a practical containerised application. Through this project, you will:

  • Write and compile a basic Java program

  • Create a proper JAR manifest and build an executable JAR file

  • Construct a minimal Docker image optimised for Java apps

  • Execute and interact with your containerised Java application

This foundational knowledge prepares you to confidently apply Docker containerisation techniques in Java-based development environments, enhancing your practical skills for modern software delivery.

Provided by

JetBrains Academy JetBrains Academy

About

In this project, you will learn to build, package, and containerize a simple Java application. Step by step, you'll create a Java application, package it into an executable JAR, and run it within Docker image. Embark on this practical journey to master the essentials of Docker and Java integration.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Compile the application and create a Manifest file
Build an executable JAR file from your application
Build a Docker Image
Run the Docker container with your application