Which command is used to download a Docker image from a registry?
docker pull
docker push
docker build
docker run
Which command will start a new container from an image?
docker start
docker exec
docker create
Which command is used to create and start a Docker container?
What does the '-t' flag do when used with the 'docker build' command?
Specifies the Dockerfile to use
Sets a tag for the built image
Defines the target platform for the image
Enables verbose output during the build process
What's the purpose of the -d flag when running a Docker container?
-d
Run the container in detached mode (background).
Disable networking for the container.
Display detailed logs from the container.
Delete the container automatically after it exits.
What is a Docker image essentially composed of?
A collection of files and configuration needed to run an application
A compiled binary executable
A snapshot of your computer's current state
A virtual machine image
What is the function of the Docker Client?
It stores and distributes Docker images
It provides a user interface for interacting with the Docker daemon
It manages the Docker daemon on a remote host
It defines the application and its dependencies in a Dockerfile
When should you consider using the 'host' network mode for a Docker container?
When you need to expose multiple ports from the container
When you want to limit the container's network access for security reasons
When you want to connect the container to a specific VLAN on the host
When you need to run a network monitoring tool inside the container
Which instruction in a Dockerfile sets the working directory inside the image during the build process?
RUN
WORKDIR
COPY
ENV
Where can you find pre-built Docker images for common software?
GitHub repositories
Amazon S3
Docker Hub
Microsoft Azure Blob Storage