Skip to content

dockersamples/workshop-getting-started-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workshop: Getting Started - Java

This workshop is intended to help introduce several concepts of Docker, focused around a Java application.

Getting started

To get started, clone this repo to your local machine and open the project in your preferred IDE. IntelliJ is used in the writeup, but the principles are easily swapped to other IDEs.

The workshop leverages Maven and all resources are available from Maven Central. If your org doesn't allow direct access to Maven Central, adjustments may be needed in.

Workshop contents

  1. Running, troubleshooting, and connecting to a containerized database
  2. Sharing container configurations in your projects
  3. Building a container image
  4. Securing your container images

The sample application

The application used with this workshop is a fairly simple Spring Boot-based todo application in which todo items are stored in a PostgreSQL database.

There are also a few Testcontainer integration tests bundled in the project, although they are not the focus of the workshop.

Acknowledgements

The sample app is a modified version of the S123 app from AtomicJar.

About

A "Docker Getting Started" workshop based around a Java app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published