top of page


How to Build & Run a Login Form using Flask + Docker
Objective Students will learn How to Build & Run a Login Form using Flask + DockerCreate a simple Flask application with a login form How to Containerize the application using Docker How to Run the Docker container and access the login form in the browser PART–1: Create the Flask Project Step 1: Create project folder Step 2: Create a file named app.py Add this code: from flask import Flask, render_template, request app = Flask(__name__) @app.route('/', methods=['GET', 'POST

Sharon Rajendra Manmothe
4 days ago1 min read
Deploying a Flask Application on Kubernetes using Docker Desktop
1. Introduction Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. Docker is used to build and run containers, while Kubernetes manages those containers across clusters. This document provides a structured guide to deploying a simple Flask web application on Kubernetes using Docker Desktop. 2. Prerequisites Before beginning, ensure the following components are installed and config

Sharon Rajendra Manmothe
5 days ago3 min read


Docker Installation and Your First Container — Step-by-Step Guide for Beginners
Introduction If you’re new to Docker and wondering how developers run applications so smoothly across different systems, this post is for you.In this first practical, we’ll walk through how to install Docker Desktop on Windows and run your very first container — the legendary “Hello World” container. By the end of this guide, you’ll understand what Docker does and how it proves that your environment is ready for future DevOps experiments. What is Docker? Before jumping int

Sharon Rajendra Manmothe
7 days ago2 min read
Microservices deployment using multiple Docker containers
1. Quick overview — what we’ll do and why What we’ll build (high level) Two small microservices (Python + Flask) that run in separate Docker containers and communicate over Docker’s network. user-service — serves user info at order-service — calls user-service and returns user + order info We orchestrate both with Docker Compose so they start together and can discover each other by service name. Why this exercise matters Demonstrates key microservices concepts: service iso

Sharon Rajendra Manmothe
Nov 103 min read


Collaboration with Git
Student Workflow Each student will now perform these steps on their own computer. Step 1 — Clone Your Repository git clone https://github.com/https://github.com/bloggershaaan-sys/devops-collaboration-lab 💬 Explanation: This copies the instructor’s repository from GitHub to the student’s local computer. Step 2 — Create Their Own Branch Each student should create a branch using your name , for example: git branch feature-sharon git switch feature-sharon Explanation: They crea

Sharon Rajendra Manmothe
Nov 71 min read


Docker to run and compile C++ code
You can use Docker to run and compile C++ code even if your local machine doesn’t have any compiler or build tools installed (like g++, clang, or make). GOAL You’ll: Pull a Docker image that already has a C++ compiler. Run a container from that image. Compile and execute a C++ program inside the container. Step 1. Check Docker is working Run: docker --version docker run hello-world If you see “Hello from Docker!” , it means Docker is installed and running. Step 2. Pull a

Sharon Rajendra Manmothe
Nov 41 min read
Containerization
Docker Zoo to understand containerization Run 3 tiny web apps (Cat, Dog, Cow) in separate containers and see how containerization isolates them. Folder setup Create a folder for your project: md docker-zoo cd docker-zoo Cat App Create a new folder: md cat cd cat app.py from flask import Flask app = Flask(__name__) @app.route('/') def home(): return "Hi, I’m the Cat app! I live inside my own Docker container." if __name__ == "__main__": app.run(host="0.0.0.0", port=4001) re

Sharon Rajendra Manmothe
Nov 41 min read


Version Control with Git
Part 1: Create Your First Git Repository Purpose: Learn how Git tracks changes locally — the first step in version control. Steps Create a folder You created a project directory to store your code. Initialize Git git init This turns your folder into a Git repository (Git starts tracking changes here). Create a file echo "Hello Git" > hello.txt You made your first file to track. Check the status git status Git shows that hello.txt is untracked. Add the file to staging git a

Sharon Rajendra Manmothe
Nov 42 min read
bottom of page
