Pull a Docker image from Docker Hub.
docker pull nginx
Verify the image:
docker images
Screenshot:

Run a container from the pulled image with port mapping.
docker run -d -p 8080:80 --name webserver nginx
Screenshot:

Check running containers and verify application access.
docker ps
Access in browser:
http://localhost:8080
Screenshot:

Stop the running container.
docker stop webserver
Screenshot:

Remove the stopped container.
docker rm webserver
📸 Screenshot:

Remove the Docker image from the system.
docker rmi nginx
📸 Screenshot:

Docker was successfully installed and configured. Images were pulled, containers were run with port mapping, verified, stopped, removed, and Docker images were deleted successfully.
This experiment demonstrates Docker image management, container lifecycle management, and port mapping using Docker commands.