{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/17559","labels_url":"https://api.github.com/repos/docker/docker/issues/17559/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/17559/comments","events_url":"https://api.github.com/repos/docker/docker/issues/17559/events","html_url":"https://github.com/docker/docker/issues/17559","id":114388232,"number":17559,"title":"Proposal: Persistent Daemon Configuration File","user":{"login":"dhiltgen","id":4033016,"avatar_url":"https://avatars.githubusercontent.com/u/4033016?v=3","gravatar_id":"","url":"https://api.github.com/users/dhiltgen","html_url":"https://github.com/dhiltgen","followers_url":"https://api.github.com/users/dhiltgen/followers","following_url":"https://api.github.com/users/dhiltgen/following{/other_user}","gists_url":"https://api.github.com/users/dhiltgen/gists{/gist_id}","starred_url":"https://api.github.com/users/dhiltgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhiltgen/subscriptions","organizations_url":"https://api.github.com/users/dhiltgen/orgs","repos_url":"https://api.github.com/users/dhiltgen/repos","events_url":"https://api.github.com/users/dhiltgen/events{/privacy}","received_events_url":"https://api.github.com/users/dhiltgen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/kind/feature","name":"kind/feature","color":"AAB3AB"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-31T05:06:20Z","updated_at":"2015-12-03T16:00:20Z","closed_at":null,"body":"This proposal describes a new configuration file format for the docker daemon.  The objective is to provide a consistent mechanism for configuration of the daemon across different operating systems and distributions.  The file should be both human and machine friendly, supporting direct editing by users, as well as by the daemon based on API calls.  The file will be encode in [TOML](https://github.com/toml-lang/toml).\r\n\r\nThe configuration will live in a well known location of `/var/lib/docker/engine.cfg` with a sym-link from `/etc/docker/engine.cfg`\r\n\r\nWhen the daemon starts, the configuration file will be loaded first.  Then any CLI flags will be processed, and where the CLI flags overlap with the configuration file, the values provided by the CLI flags will override the configuration file.  For map style settings (e.g., labels) the final value will be the union of settings from the configuration file and CLI arguments, and in the case of overlapping keys, the CLI values will override the values in the configuration file.  No mechanism will be provided to “unset” a value via the CLI flags that was set in the configuration file.\r\n\r\nThe following example illustrates a hypothetical configuration file:\r\n\r\n```TOML\r\n# Example docker daemon configuration\r\ncluster-advertise=\"192.168.1.2:2376\"\r\ncluster-store=\"etcd://192.168.1.2:2379\"\r\n\r\n[cluster-store-opt]\r\n\"kv.cacertfile\"=\"/etc/docker/ssl/ca.pem\"\r\n\"kv.certfile\"=\"/etc/docker/ssl/cert.pem\"\r\n\"kv.keyfile\"=\"/etc/docker/ssl/key.pem\"\r\n\r\n[label]\r\nstorage=\"ssd\"\r\nrack=\"42\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/161689688","html_url":"https://github.com/docker/docker/issues/17559#issuecomment-161689688","issue_url":"https://api.github.com/repos/docker/docker/issues/17559","id":161689688,"user":{"login":"runcom","id":849915,"avatar_url":"https://avatars.githubusercontent.com/u/849915?v=3","gravatar_id":"","url":"https://api.github.com/users/runcom","html_url":"https://github.com/runcom","followers_url":"https://api.github.com/users/runcom/followers","following_url":"https://api.github.com/users/runcom/following{/other_user}","gists_url":"https://api.github.com/users/runcom/gists{/gist_id}","starred_url":"https://api.github.com/users/runcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runcom/subscriptions","organizations_url":"https://api.github.com/users/runcom/orgs","repos_url":"https://api.github.com/users/runcom/repos","events_url":"https://api.github.com/users/runcom/events{/privacy}","received_events_url":"https://api.github.com/users/runcom/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T16:00:20Z","updated_at":"2015-12-03T16:00:20Z","body":"@tiborvass @stevvooe is this the right place for my proposal of blocking registries (docker.io included)  which we talked about at Docker contributors summit?"}}