Installation, Storage, and Compute with Windows Server 2016 — Question 55
You have a Nano Server named Nano1. You deploy several containers to Nano1 that use an image named Image1. You need to deploy a new container to Nano1 that uses Image1. What should you run?
Answer options
- A. the Install-NanoServerPackage cmdlet
- B. the Install-WindowsFeature cmdlet
- C. the docker load command
- D. the docker run command
Correct answer: D
Explanation
The correct answer is D, as the 'docker run' command is specifically used to create and start a new container from an image. The other options are not relevant to container deployment; 'Install-NanoServerPackage' and 'Install-WindowsFeature' are used for installing features on Nano Server, while 'docker load' is for importing images, not running containers.