Submitted to:
Mr. Prateek Raj Gautam
Submitted by:
Siddharth Negi
R2142231376
SAP ID: 500121910
docker pull nginx

docker run -d -p 8080:80 nginx

docker ps

docker stop <container_id>
docker rm <container_id>

docker rmi -f nginx
—
Docker images were successfully pulled, containers executed, and lifecycle commands performed.
This lab demonstrated virtualization using Vagrant + VirtualBox and containerization using Docker, highlighting performance and resource efficiency differences. Containers are better suited for rapid deployment and microservices, while VMs provide stronger isolation.