Day 01 – Docker Fundamentals & DevOps Integration
Day 01
Agenda –
1. Introduction to Docker & Containers
Importance of containerization in modern DevOps
Comparison with virtual machines
Real-world analogy: shipping containers & isolated environments
2. Docker vs Virtualization
Overhead in VMs vs lightweight containers
Shared OS kernel in containers
Why Docker containers are faster and smaller
3. Containerization Benefits
Platform independence
Consistency across environments
Dependency encapsulation with OS, libraries, and app
4. Docker Components
Docker Host: Where Docker engine is installed
Docker Client: CLI or GUI to interact with Docker
Docker Daemon: Background service that executes commands
Docker Images: Read-only templates with app and dependencies
Docker Containers: Running instances of images
Docker Registry: Docker Hub or private registry for storing images
5. Docker Image vs Container
Image = template (like .iso)
Container = runtime instance of the image
Immutable and portable units of software
6. Docker Commands Overview
docker run, docker ps, docker images, docker stop, etc.
Usage of -it, -d, –name, -p flags
7. OS-Level Compatibility
Docker performance comparison on Linux vs Windows
Role of WSL (Windows Subsystem for Linux) in Windows
Why Linux is preferred for Docker workloads
8. Docker in CI/CD Pipeline
Dockerizing applications for consistency
Jenkins integration
Docker-based agents/slaves in pipelines
9. Docker Use Cases
Microservices architecture
Automation testing environments (e.g., Selenium Grid)
Running SonarQube as a container