Jul 4, 2024
docker pull
command.docker pull <image_name>
: Pulls a Docker image from Docker Hub.docker run <image_name>
: Runs a Docker image, creating a container.docker stop <container_id>
: Stops a running container.hello-world
and ubuntu
images as containers.
hello-world
image.ubuntu
image in interactive mode for executing commands inside the container.