title: Change "hosts" / "-h" Docker for Windows in daemon.json
body: <p>I'm trying to change <code>daemon.json</code> on <strong>Docker Desktop for Windows</strong> (Windows 10 Aniversary latest updates installed) <code>1.13.0-rc5</code> so I can change the <code>"hosts": []</code> setting like this:</p>
  
  <pre><code>{
    "hosts": [
      "tcp://0.0.0.0",
      "http://0.0.0.0"
    ]
  }
  </code></pre>
  
  <p>However, after change the settings using the settings app I got this error:</p>
  
  <blockquote>
    <p>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
    <a href="http://0.0.0.0]" rel="nofollow noreferrer">http://0.0.0.0]</a>)</p>
  </blockquote>
  
  <p>Looks like the daemon is already started with <code>-H</code> flag and the json config isn't merged with it.</p>
  
  <p>So, how can we change those settings by either json file or change the dockerd startup parameters?</p>