Simple Java application containerized with Docker for learning Docker fundamentals.
32
A simple Java application containerized with Docker.
The application is packaged into a Docker image and runs inside a container.
docker pull aryanaroraa/simple-java-app:1.0
docker run --name simple-java-app aryanaroraa/simple-java-app:1.0
.
├── src/
│ └── Main.java
└── Dockerfile
The Dockerfile uses a Java base image, copies the application source code into the image, compiles the Java application, and runs it when the container starts.
aryanaroraa/simple-java-app:1.0
Content type
Image
Digest
sha256:e531c8b40…
Size
104.8 MB
Last updated
1 day ago
docker pull aryanaroraa/simple-java-app:1.0