Hi there!
I want to expose docker daemon on tcp://localhost:2375 with TLS on Windows 10
This is my daemon.json file
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"experimental": false,
"hosts": ["tcp://127.0.0.1:2376", "unix:///var/run/docker.sock"],
"tlscert": "C:\\DockerHostSecrets\\server-cert.pem",
"tlskey": "C:\\DockerHostSecrets\\server-key.pem",
"tlscacert": "C:\\DockerHostSecrets\\ca.pem"
}
With such setting docker starts and is reachable on the localhost:2376
But when I’m trying to activate TLS with
"tls": true
then docker doesn’t start.
Where is a loop error in the logfile com.docker.backend.exe.log:
dockerd died before the API started up