I am trying to change daemon.json
to Docker for Windows (recent updates for Windows 10 with installed updates) 1.13.0-rc5, so I can change the "hosts": []
setting as follows:
{ "hosts": [ "tcp://0.0.0.0", "http://0.0.0.0" ] }
However, after changing the settings using the settings application, I got this error:
Docker daemon failed with message: unable to configure the Docker daemon with file C:\ProgramData\docker\config\daemon.json: the following directives are specified both as a flag and in the configuration file: hosts: (from flag: [npipe:////./pipe/docker_engine_windows], from file: [tcp://0.0.0.0 http://0.0.0.0])
It looks like the daemon is already running with the -H
flag, and the json config does not merge with it.
So, how can we change these settings using either a json file or changing dockerd startup options?
source share