You need to configure the Docker daemon to accept conne…

You have a server named Server1 that runs Windows Server 2016. You install the Docker daemon on Server1.
You need to configure the Docker daemon to accept connections only on TCP port 64500.
What should you do?

You have a server named Server1 that runs Windows Server 2016. You install the Docker daemon on Server1.
You need to configure the Docker daemon to accept connections only on TCP port 64500.
What should you do?

A.
Edit the configuration.json file.

B.
Run the Set-Service Windows PowerShell cmdlet.

C.
Edit the daemon.json file.

D.
Modify the routing table on Server1.

Explanation:
Configure Docker with Configuration File
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’.
Only the desired configuration changes need to be added to the configuration file. For example, this sample
configures the Docker Engine to accept incoming connections on port 64500. All other configuration options will
use default values.
{
“hosts”: [“tcp://0.0.0.0:64500”]
}
https://msdn.microsoft.com/en-us/virtualization/windowscontainers/docker/
configure_docker_daemon



Leave a Reply 0

Your email address will not be published. Required fields are marked *