top of page

Jenkins Setup
Go to CMD and and type below command docker pull jenkins/jenkins:lts After that write the below command docker run -d --name jenkins -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts

Sharon Rajendra Manmothe
Nov 28, 20251 min read
Demonstration of How to Do Port Mapping in Docker
STEP 1: Run NGINX on Port 8080 docker run -d --name mynginx -p 8080:80 nginx NGINX is running inside container on port 80 ✔ You are accessing it from host on 8080 Test: http://localhost:8080 STEP 2: Try to Reassign the SAME HOST PORT (8080) to Another Container Now run: docker run -d --name mynginx2 -p 8080:80 nginx You will get an error: Error starting userland proxy: listen tcp4 0.0.0.0:8080: bind: address already in use Meaning: Port 8080 on your machine is already occupi

Sharon Rajendra Manmothe
Nov 27, 20251 min read
Demonstration on how Docker Volumes & Data Persistence
Step 1: Create a Docker Volume docker volume create mydata Explanation: This creates a persistent storage location managed by Docker. Step 2: Run a Container Using the Volume docker run -it --name testcontainer -v mydata:/data ubuntu Explanation: -v mydata:/data → Mount the volume inside container at /data ubuntu → Runs Ubuntu container /data → Any files created here will go into the volume Step 3: Create a File Inside the Volume Inside the container, type: echo "Hello Docker

Sharon Rajendra Manmothe
Nov 27, 20251 min read


Blackbox AI vs ChatGPT: Which AI Coding Assistant is Better.
Artificial Intelligence is now woven directly into modern software development. Whether you are fixing bugs, writing new features, or learning a framework, an AI partner can dramatically improve speed and productivity. Two of the top tools today are Blackbox AI and ChatGPT. While both assist programmers, they are designed with very different goals in mind. This article will help you understand exactly where each tool shines and which one you should choose for your work. Black

Sharon Rajendra Manmothe
Nov 25, 20253 min read


Creating First Cloud Project + App using Google Cloud
Create a Google Cloud account and start the free trial (you get $300 credits). Google Cloud Create a Google Cloud Account Go to: https://cloud.google.com → Click Get Started for Free → Sign in using Gmail→ Add basic details→ Activate Free Trial (you get ₹20,000 / $300 credits) (You won’t be charged without your permission) Create a New Project After signing in → Go to Google Cloud Console On top navigation — click Project dropdown Click New Project Name it: my-first-cloud-ap

Sharon Rajendra Manmothe
Nov 24, 20251 min read


How to Build and Deploy a Web-Based Calculator using Flask in Docker Environment
Create a folder named: python-calculator python-calculator/ │ ├─ app.py ├─ requirements.txt ├─ Dockerfile ├─ docker-compose.yml └─ templates/ └─ index.html app.py (Flask app) from flask import Flask, render_template, request app = Flask(__name__) @app.route('/') def home(): return render_template("index.html") @app.route('/calculate', methods=['POST']) def calculate(): try: a = float(request.form.get('a')) except: a = None try: b = float(request.form.get('b')) except: b =

Sharon Rajendra Manmothe
Nov 21, 20252 min read
How to Demonstrate Scalability & Elasticity using Docker
STEP 1 — Create a Simple Web App Create a folder: scaling-demo/ └── app.js └── package.json └── Dockerfile package.json { "name": "scale-demo", "version": "1.0.0", "dependencies": { "express": "^4.18.2" } } app.js const express = require("express"); const app = express(); const port = 3000; app.get("/", (req, res) => { const host = process.env.HOSTNAME; res.send(`Hello from container: ${host}`); }); app.listen(port, () => console.log(`App running on port ${port}`)); Dockerf

Sharon Rajendra Manmothe
Nov 20, 20251 min read


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
Nov 14, 20251 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
Nov 13, 20253 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
Nov 11, 20252 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 10, 20253 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 7, 20251 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 4, 20251 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 4, 20251 min read


How to do Version Control with Git for DevOps
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 4, 20252 min read
bottom of page