Common Docker Commands
Images
docker images: List all local images.docker pull <image-name>: Download an image from Docker Hub.docker rmi <image-id>: Remove a local image.
Containers
docker ps: List running containers.docker ps -a: List all containers.docker run <image-name>: Create and start a new container from an image.docker stop <container-id>: Stop a running container.docker start <container-id>: Start a stopped container.docker rm <container-id>: Remove a container.