You have a server named Server1 that runs Windows Server 2016. The Docker daemon runs on Server1. You need to ensure that members of a security group named Docker Administrators can administer Docker. What should you do?
A.
Run the sc privsc ommand.
B.
Edit the Daemon.json file.
C.
Add Docker Administrators to the local Administrators group.
Suggested Answer:B🗳️
The preferred method for configuring the Docker Engine on Windows is using a configuration file. The configuration file can be found at 'C:\ProgramData\Docker \config\daemon.json'. If this file does not already exist, it can be created. Note: The Docker Engine can also be configured by modifying the Docker service using the sc config command. References: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon
As of the latest documentation, a security group that can use the named pipe can be added to the json without having to add that group to the local administrators group. See Reference below. Adding Docker Administrators to the local administrators will work, but Microsoft's theme is to always grant the least permissions possible to achieve what is needed. And making a user group admins of the whole server is not good practice. Doesn't matter what Panek says. He's been wrong before, and is going off old knowledge.Reference: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon#set-docker-security-group
There are ways around this requirement, but they're not Microsoft or Docker supported: https://www.axians-infoma.de/techblog/allow-access-to-the-docker-engine-without-admin-rights-on-windows/
Got that q on Exam.
Not Shure if Daemon.json may begins from Capital Letter.
You can give rights by adding:
Add Docker Administrators to the local Administrators group.
But it's gives more rights then needed.
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.70-740 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Baldiico
4 years, 5 months agoJBSPLAT
4 years, 7 months agoBeitran
4 years, 8 months agoBeitran
4 years, 8 months agonix7878
5 years, 5 months agoWanderlusting
5 years, 5 months agoAldrid
5 years, 6 months ago