A simple "Hello World" Python application containerized with Docker. This project demonstrates the basics of creating and running a Docker container with a Python script.
- Clone the repository:
git clone https://github.com/ajitagupta/hello-docker.git cd hello-docker
- Build the Docker image:
docker build -t hello-docker .
- Run the container:
docker run hello-docker
hello-docker/
├── Dockerfile # Docker configuration
├── hello.py # Python script
└── README.md # Documentation
- Python 3.9-slim: A lightweight official Python image used as the base for the application.
- Docker: A containerization platform to build, ship, and run applications in isolated environments.
- Simple and Lightweight: A basic Python application demonstrating Docker containerization.
- Quick Setup: Easy to build and run with minimal configuration.
- Beginner-Friendly: Perfect for understanding Docker basics and creating your first containerized application.
- Portable: The app runs consistently across different environments using Docker.
Feel free to fork, star ⭐, and contribute! 😊