You have a server named Server1 that runs Windows Server 2019. Server1 is a container host.
You plan to create a container image.
You create the following instructions in a text editor.
FROM mcr.microsoft.com/windows/servercore:lts2019
LABEL maintainer="[email protected]"
RUN dism.exe /online /enable-feature /all /featurename:iis-webserver /NoRestart
RUN echo "Hello World!" > c:\inetpub\wwwroot\index.html
You need to be able to automate the container image creation by using the instructions.
To which file should you save the instructions?
Stephan99
Highly Voted 4 years, 6 months agomoon2351
Most Recent 3 years, 5 months agond78
3 years, 6 months agokristhiank
3 years, 7 months agoawalao
3 years, 8 months agoDpejic
3 years, 8 months agosyu31svc
3 years, 11 months agordemontis
4 years ago