This practical session focuses on understanding the foundational concepts of DevOps and containerization using Docker Desktop on Windows. The lab demonstrates Docker installation verification, container execution, Linux interaction inside Docker, and package management differences between Windows and Linux.
docker --version
docker info
docker run hello-world
winget upgrade
docker run -it ubuntu bash
apt update
apt upgrade -y
exit
mkdir DevOps-Lab-Assignments
cd DevOps-Lab-Assignments
mkdir "Class Practical 21 Jan"
cd "Class Practical 21 Jan"
notepad README.md
cd ..
git init
git add .
git commit -m "Added Class Practical 21 Jan - DevOps Fundamentals"
git remote add origin https://github.com/YOUR_USERNAME/DevOps-Lab-Assignments.git
git branch -M main
git push -u origin main
This lab establishes a strong foundation in Docker-based containerization and DevOps workflow setup using Windows. It demonstrates how Linux environments can be simulated inside Windows using Docker, enabling consistent development and deployment environments.