Your network contains an Active Directory Domain Services (AD DS) domain- The domain contains 10 servers that run Windows Server. The servers have static IP addresses.
You plan to use DHCP to assign IP addresses to the servers.
You need to ensure that each server always receives the same IP address.
Which type of identifier should you use to create a DHCP reservation for each server?
To run a container on SRV1 using the mcrmicrosoft.com/windows/servercofe/iis image, publish port 80 on the container to port 5001 on SRV1, and ensure it runs in the background, you can follow these steps:
Step 1: Pull the IIS Image First, pull the correct IIS image from the Microsoft Container Registry:
docker pull mcr.microsoft.com/windows/servercore/iis
Step 2: Run the Container Next, run the container with the required port mapping and ensure it runs in the background using the -d flag:
docker run -d -p 5001:80 --name iis_container mcr.microsoft.com/windows/servercore/iis
This command will start a container named iis_container using the IIS image, map port 80 inside the container to port 5001 on SRV1, and run the container in detached mode.
Step 3: Verify the Container is Running To verify that the container is running and the port is published, use the following command:
docker ps
This will list all running containers and show the port mappings.
Step 4: Access the IIS Server You can now access the IIS server running in the container by navigating to http://<SRV1_IP>:5001 in a web browser, where <SRV1_IP> is the IP address of SRV1.
By following these steps, you should be able to run the IIS container on SRV1 with the specified port mapping and have it running in the background. Please replace mcrmicrosoft.com/windows/servercofe/iis with the correct image name mcr.microsoft.com/windows/servercore/iis as shown in the commands above.
Annett
7 months agoJina
7 months agoCecilia
7 months agoAlisha
7 months agoShalon
7 months agoMing
8 months agoClaudia
8 months agoTori
8 months agoScarlet
8 months agoTamekia
8 months agoMyra
8 months agoLenora
8 months agoEric
8 months agoSabina
9 months agoMaile
9 months agoDorothy
1 year agoLou
12 months agoReita
12 months agoCallie
1 year agoJoanna
1 year agoLacresha
1 year agoLayla
1 year agoAdelina
1 year agoIdella
1 year agoTammy
1 year agoAudra
1 year agoGertude
1 year agoMadonna
1 year agoAlecia
1 year agoAlysa
1 year agoLavera
1 year agoLazaro
1 year agoTawny
1 year agoAmina
1 year agoTennie
1 year agoMeghann
1 year agoLakeesha
1 year agoAndrew
1 year agoAja
1 year agoAfton
1 year agoGregoria
1 year ago