Java

In this lesson, you will be provided with the basic application image for Java.

We'll cover the following

Files#

You can find these files in the code/common-development-profiles/demos/java folder.

Simple Java source code:

Hello.java



Docker image definition:

Dockerfile

Result#

The resulting image is published as learnbook/java. Connect with the given terminal to view the output of the below command.

Terminal 1
Terminal

Click to Connect...


Let’s look at another image in the next lesson.

Introduction
Node.js
Mark as Completed
Report an Issue