Installation, Storage, and Compute with Windows Server 2016 — Question 196
You have a server named Server1 that runs Windows Server 2016. Server1 has the Containers feature installed.
You create a text file that contains the commands that will be used to automate the creation of new containers.
You need to ensure that the commands in the text file are used when you create new containers.
What should you name the file?
Answer options
- A. Bootstrap.ini
- B. Config.ini
- C. Dockerfile
- D. Unattend.txt
Correct answer: C
Explanation
The correct answer is C, Dockerfile, as it is the standard file used to define a container's environment and commands in Docker. Options A, B, and D are not recognized by Docker for this purpose; Bootstrap.ini and Config.ini do not pertain to container creation, and Unattend.txt is used for automating Windows installation processes, not for container configurations.