Complete the command to run the Docker hello-world image.
docker [1] hello-worldThe docker run command starts a container from an image. Here, it runs the hello-world image to verify Docker is installed correctly.
Complete the command to pull the hello-world image explicitly before running it.
docker [1] hello-worldThe docker pull command downloads the image from Docker Hub without running it. This is useful to get the image first.
Fix the error in the command to run the hello-world image.
docker [1] hello-worldThe correct command is docker run. Using 'runs' or 'running' is invalid syntax and causes an error.
Fill both blanks to complete the command that runs the hello-world image and removes the container after it exits.
docker [1] --rm [2]
The docker run --rm hello-world command runs the image and removes the container automatically after it finishes.
Fill all three blanks to run the hello-world image in detached mode with a custom name.
docker [1] -d --name [2] [3]
This command runs the hello-world image in detached mode (-d) and names the container my-hello.