Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🐳 Basic Docker Image – DevOps Project

📌 Project Overview

This repository contains my first official DevOps project, focused on building and running a minimal Docker image using Alpine Linux.

The purpose of this project is to understand:

  • How Docker images are built
  • How containers execute commands
  • How to version, document, and showcase DevOps work professionally using GitHub

This project is inspired by the roadmap.sh – Basic Dockerfile project and implemented with real DevOps practices.


👨‍💻 About Me

Hi, I am Madhan, A BCA final-year student learning DevOps Engineering.

I am actively building hands-on projects to strengthen my skills in:

  • Containerization
  • Automation basics
  • Linux system operations
  • Professional documentation

This project represents my starting point as a DevOps Engineer.


🎯 Project Goal

  • Create a minimal Docker image

  • Use Alpine Linux for lightweight containers

  • Print meaningful project and identity information at runtime

  • Follow real DevOps workflow:

    • Code
    • Build
    • Run
    • Document
    • Version with GitHub

🛠️ Tech Stack Used

  • Docker – Containerization
  • Alpine Linux – Minimal base image
  • Git & GitHub – Version control and project hosting
  • Linux (Ubuntu) – Development environment
  • Google Calendar – Task & productivity tracking
  • Microsoft Teams – Project coordination and tracking

📂 Project Structure

docker-img-devops/
├── Dockerfile
└── README.md

📄 Dockerfile Explanation

The Dockerfile:

  • Uses Alpine as the base image

  • Executes multiple echo commands

  • Prints:

    • Who I am
    • What I am learning
    • Why this project exists
    • The tech stack being used

This ensures the container itself explains the project purpose when run.


▶️ How to Build the Docker Image

Run this command inside the project directory:

docker build -t docker-img-devops .

▶️ How to Run the Container

docker run --rm docker-img-devops

Expected Output

Hi, I am Madhan.
I am a BCA final-year student learning DevOps engineering.
This is my DevOps project using Docker.
Tech Stack: Docker, Git & GitHub, Linux, Google Calendar, MS Teams.
Goal: Build, version, and document containerized applications professionally.

✅ What I Learned from This Project

  • Writing a clean and minimal Dockerfile
  • Understanding Docker image layers
  • Running containers and validating output
  • Using Git properly (add, commit, push)
  • Creating professional README documentation
  • Treating even small projects like real DevOps work

🚀 Next Steps

  • Add versioned tags to Docker images
  • Push image to Docker Hub
  • Improve CMD → ENTRYPOINT usage
  • Extend project with environment variables
  • Create CI workflow for Docker builds

📎 Project Status

✅ Completed 📦 Ready for showcase 🌱 Foundation DevOps project


About

✅ Project: Basic Dockerfile - Created minimal Docker image using Alpine - Built and validated container execution - Pushed initial version to GitHub Status: Completed Next: Documentation + enhancements

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages