Java samples


Samples compatible with Docker Dev Environments require Docker Desktop version 4.10 or later.

NameDescriptionDocker Dev Environment (if compatible)
Java Spark / MySQLA sample Java application and a MySQL database.Open in Docker Dev Environment
React / Spring / MySQLA sample React application with a Spring backend and a MySQL database.Open in Docker Dev Environment
Spring / PostgreSQLA sample Java application with Spring framework and a Postgres database.Open in Docker Dev Environment
SparkA sample Spark application.Open in Docker Dev Environment
example-voting-appA sample Docker Compose app.
atsea-sample-shop-appA sample app that uses a Java Spring Boot backend connected to a database to display a fictitious art shop with a React front-end.
wordsmithA demo app that runs three containers, including PostgreSQL, Java, and Go.

Looking for more samples?

Visit the following GitHub repositories for more Docker samples.

  • Awesome Compose: A curated repository containing over 30 Docker Compose samples. These samples offer a starting point for how to integrate different services using a Compose file.

  • Docker Samples: A collection of over 30 repositories that offer sample containerized demo applications, tutorials, and labs.