AZ-800 · Question #38
You have a Windows Server container host named Server1 and a container image named image1. You need to start a container from image1. The solution must run the container on a Hyper-V virtual…
The correct answer is D. --isolation. The 'docker run --isolation=hyperv' parameter instructs Docker to run the container inside a lightweight Hyper-V virtual machine rather than as a standard Windows process-isolated container. Hyper-V isolation provides a stronger security boundary by giving each container its…
Question
Options
- A--expose
- B--privileged
- D--isolation
- E--entrypoint
How the community answered
(39 responses)- A3% (1)
- B5% (2)
- D92% (36)
Explanation
The 'docker run --isolation=hyperv' parameter instructs Docker to run the container inside a lightweight Hyper-V virtual machine rather than as a standard Windows process-isolated container. Hyper-V isolation provides a stronger security boundary by giving each container its own dedicated kernel. This is in contrast to '--isolation=process' (the default on Windows Server). The other options are unrelated: '--expose' opens network ports, '--privileged' grants extended Linux privileges, and '--entrypoint' overrides the container's default command.
Topics
Community Discussion
No community discussion yet for this question.