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

https://github.com/ajitagupta/hello-docker

A Hello World Docker project
https://github.com/ajitagupta/hello-docker

containerization-with-docker docker hello-world python

Last synced: 3 months ago
JSON representation

A Hello World Docker project

Awesome Lists containing this project

README

        

# Hello Docker 🐳

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.

## 🚀 How to Use

1. Clone the repository:
```bash
git clone https://github.com/ajitagupta/hello-docker.git
cd hello-docker

2. Build the Docker image:
```bash
docker build -t hello-docker .

3. Run the container:
```bash
docker run hello-docker

## 📂 Project Structure

```plaintext
hello-docker/
├── Dockerfile # Docker configuration
├── hello.py # Python script
└── README.md # Documentation
```

## 🛠️ Tools Used

- **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.

## 🌟 Features

- **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! 😊