az-800 Practice Question 951
Exam: az-800
Domain: Manage virtual machines and containers
Topic: Create and manage containers
Difficulty: easy
Which file is used to define the instructions for building a container image automatically?
Answer Options
A
container.xml
B
Dockerfile
C
build.ps1
D
docker-compose.yml
Correct Answer
B: Dockerfile
Explanation
A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.