Complete the command to build a Docker image from the current directory.
docker build [1] .The -t flag tags the image with a name, which is required to identify the built image.
Complete the command to build a Docker image using a specific Dockerfile named 'Dockerfile.dev'.
docker build -f [1] .The -f flag specifies the Dockerfile to use. Here, the file is named Dockerfile.dev.
Fix the error in the command to build an image with tag 'webapp:latest'.
docker build -t [1] .The tag format is name:tag. Using a slash or space is invalid.
Fill both blanks to build an image with tag 'app:v1' and no cache.
docker build [1] [2] .
The -t flag sets the image tag, and --no-cache forces Docker to build without using cache.
Fill all three blanks to build an image named 'backend' with tag 'v2', using Dockerfile 'Dockerfile.prod' and no cache.
docker build [1] [2] [3] .
Use -f to specify the Dockerfile, -t to tag the image, and --no-cache to build fresh without cache.