Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vasu10134/java-docker-play

This project demonstrates how to containerize a simple Java application (App.java) using Docker. It includes a Dockerfile for building the image and a .gitignore to exclude unnecessary files. The goal is to show how to easily deploy and run a Java application in an isolated Docker container.
https://github.com/vasu10134/java-docker-play

docker docker-image java

Last synced: about 1 month ago
JSON representation

This project demonstrates how to containerize a simple Java application (App.java) using Docker. It includes a Dockerfile for building the image and a .gitignore to exclude unnecessary files. The goal is to show how to easily deploy and run a Java application in an isolated Docker container.

Awesome Lists containing this project

README

        

# java-docker-play 🚀

This project demonstrates how to containerize a simple Java application (`App.java`) using Docker. It includes a `Dockerfile` for building the Docker image and a `.gitignore` to exclude unnecessary files. The goal is to showcase how to easily deploy and run a Java application in an isolated Docker container.

## 🔧 Technologies Used:
- **Java**: Programming language used for the application.
- **Docker**: Containerization tool to run the Java app in an isolated environment.

## ⚙️ What We Do:
- Write a simple Java application (`App.java`)
- Create a Dockerfile to containerize the app
- Build and run the Java app in a Docker container

## 📦 Getting Started:
1. Clone the repository
2. Build the Docker image: `docker build -t java-docker-play .`
3. Run the container: `docker run java-docker-play`

## 🌱 Learn More:
- [Docker](https://www.docker.com/)

Happy coding! 😎