Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/vasu10134/java-docker-play
- Owner: Vasu10134
- License: mit
- Created: 2024-12-22T06:38:25.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-22T16:31:20.000Z (about 1 month ago)
- Last Synced: 2024-12-22T17:18:52.193Z (about 1 month ago)
- Topics: docker, docker-image, java
- Language: Dockerfile
- Homepage: https://github.com/Vasu10134/java-spring-play
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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! 😎