This practical session focuses on exploring Docker core concepts and managing containers using Docker Desktop on Windows. The lab demonstrates Docker CLI operations, image management, container lifecycle handling, monitoring, and cleanup processes in a DevOps-oriented workflow.
docker version
docker info
docker run hello-world
docker images
docker pull ubuntu
docker images
docker run -it ubuntu bash
Inside container:
ls
pwd
whoami
exit
docker ps
docker ps -a
docker start <container_id>
docker stop <container_id>
docker rm <container_id>
docker rmi ubuntu
cd DevOps-Lab-Assignments
git add .
git commit -m "Added Class Practical 22 Jan - Docker Basics & Container Management"
git push
This lab strengthens foundational knowledge of Docker CLI usage and container lifecycle operations. It demonstrates practical container management within a Windows environment, forming a core building block for DevOps workflows and cloud-native development practices.