Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have a server named Server1 that runs Windows Server 2019. Server1 is a container host.
You are creating a Dockerfile to build a container image.
You need to add a file named File1.txt from Server1 to a folder named C:\Folder1 in the container image.
Solution: You add the following line to the Dockerfile.
XCOPY File1.txt C:\Folder1\
You then build the container image.
Does this meet the goal?
azurecert2021
Highly Voted 4 years, 5 months agosandeepmalik
Most Recent 3 years, 3 months agoJDS11
3 years, 4 months agomonkalways
3 years, 9 months agosyu31svc
3 years, 10 months agoMinhajR
3 years, 10 months agobhushan_786
3 years, 11 months agomojsamspam
4 years agomojsamspam
4 years agoexampass999
4 years agoVivekSood
4 years, 2 months agoKraviecc
4 years, 5 months ago