CompTIA Study Materials
AWS Study Materials
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free CompTIA Linux+ XK0-005 Practice Question

A systems administrator needs to create a Docker image from a Dockerfile located in the current directory. The image should include the tag 'webserver:v1'. Which of the following commands will successfully create the required Docker image?

  • docker compile -t webserver:v1

  • docker build -t webserver:v1 .

  • docker create -t webserver:v1 .

  • docker image build --name webserver:v1

This question is for objective:
Scripting, Containers, and Automation
Your Score:
Scripting, Containers, and Automation
System Management
Security
Troubleshooting
SAVE $45