Question: On your Host machine, perform the following: ( 5 pts ) Remove any containers, volumes, and networks you created in previous labs. ( 5 pts
On your Host machine, perform the following:
pts Remove any containers, volumes, and networks you created in previous labs.
pts Remove all the images except the servercore image
pts Create a docker network using the nat driver named PASwitch that uses the network address.
Create a folder on the drive named Site.
pts Create a container using the servercore image and install DNS on it Name the container TempDNS.
pts Build an image from the container with DNS installed and name it padns
pts Create a container with the following settings:
a Name: DNSTest
b Uses the padns image
c Has an interactive prompt
d Maps the : Site folder to the Data folder in the container so files added in Dat folder are added to the C:ISite folder.
e Runs PowerShell
f Exposes port as port udp on the host.
Extra Credit pts Build the image above using a DockerFile
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
