{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/29738405","id":29738405,"diff_hunk":"@@ -1,17 +1,36 @@\n-page_title: Configuring Docker\n-page_description: Configuring the Docker daemon on various distributions\n-page_keywords: docker, daemon, configuration\n+page_title: Configuring and running Docker\n+page_description: Configuring and running the Docker daemon on various distributions\n+page_keywords: docker, daemon, configuration, running, process managers\n \n-# Configuring Docker on various distributions\n+# Configuring and running Docker on various distributions\n \n-After successfully installing Docker, the `docker` daemon runs with it's default\n-configuration. You can configure the `docker` daemon by passing configuration\n-flags to it directly when you start it.  \n+After successfully installing Docker, the `docker` daemon runs with its default\n+configuration.\n \n In a production environment, system administrators typically configure the\n `docker` daemon to start and stop according to an organization's requirements.  In most\n cases, the system administrator configures a process manager such as `SysVinit`, `Upstart`,\n-or `systemd` to manage the `docker` daemon's start and stop.\n+, `systemd` to manage the `docker` daemon's start and stop.\n+\n+### Running the docker daemon directly\n+\n+The `docker` daemon can be run directly using the `-d` option. By default it listens on\n+the Unix socket `unix:///var/run/docker.sock`\n+\n+    $ docker -d\n+\n+    INFO[0000] +job init_networkdriver()\n+    INFO[0000] +job serveapi(unix:///var/run/docker.sock)\n+    INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)\n+    ...\n+    ...\n+\n+### Configuring the docker daemon directly\n+\n+If you're running the `docker` daemon directly by running `docker -d` instead\n+of using a process manager, you can append the configuration options to the `docker` run","path":"docs/sources/articles/configuring.md","position":39,"original_position":39,"commit_id":"775bf9fd4942bf000541a9c819b3649af01315c3","original_commit_id":"775bf9fd4942bf000541a9c819b3649af01315c3","user":{"login":"ankushagarwal","id":796949,"avatar_url":"https://avatars.githubusercontent.com/u/796949?v=3","gravatar_id":"","url":"https://api.github.com/users/ankushagarwal","html_url":"https://github.com/ankushagarwal","followers_url":"https://api.github.com/users/ankushagarwal/followers","following_url":"https://api.github.com/users/ankushagarwal/following{/other_user}","gists_url":"https://api.github.com/users/ankushagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/ankushagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankushagarwal/subscriptions","organizations_url":"https://api.github.com/users/ankushagarwal/orgs","repos_url":"https://api.github.com/users/ankushagarwal/repos","events_url":"https://api.github.com/users/ankushagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/ankushagarwal/received_events","type":"User","site_admin":false},"body":"James Turnbull suggested using this in an earlier note.\nᐧ\n\nOn Wed, May 6, 2015 at 6:03 AM, Sebastiaan van Stijn <\nnotifications@github.com> wrote:\n\n> In docs/sources/articles/configuring.md\n> <https://github.com/docker/docker/pull/12804#discussion_r29733082>:\n>\n> > +\n> > +The `docker` daemon can be run directly using the `-d` option. By default it listens on\n> > +the Unix socket `unix:///var/run/docker.sock`\n> > +\n> > +    $ docker -d\n> > +\n> > +    INFO[0000] +job init_networkdriver()\n> > +    INFO[0000] +job serveapi(unix:///var/run/docker.sock)\n> > +    INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)\n> > +    ...\n> > +    ...\n> > +\n> > +### Configuring the docker daemon directly\n> > +\n> > +If you're running the `docker` daemon directly by running `docker -d` instead\n> > +of using a process manager, you can append the configuration options to the `docker` run\n>\n> I think \"run\" should be removed here?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/docker/docker/pull/12804/files#r29733082>.\n>\n\n\n\n-- \nAnkush Agarwal\nhttp://ankush.io\n@ankushio <https://twitter.com/ankushio>\n\n*There are 10 types of people in this world. Those who understand binary\nand those who don't.*\n","created_at":"2015-05-06T07:15:05Z","updated_at":"2015-05-06T07:15:05Z","html_url":"https://github.com/docker/docker/pull/12804#discussion_r29738405","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/12804","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/29738405"},"html":{"href":"https://github.com/docker/docker/pull/12804#discussion_r29738405"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/12804"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/12804","id":34141399,"html_url":"https://github.com/docker/docker/pull/12804","diff_url":"https://github.com/docker/docker/pull/12804.diff","patch_url":"https://github.com/docker/docker/pull/12804.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/12804","number":12804,"state":"open","locked":false,"title":"Add CentOS/RHEL configuration to the config article","user":{"login":"ankushagarwal","id":796949,"avatar_url":"https://avatars.githubusercontent.com/u/796949?v=3","gravatar_id":"","url":"https://api.github.com/users/ankushagarwal","html_url":"https://github.com/ankushagarwal","followers_url":"https://api.github.com/users/ankushagarwal/followers","following_url":"https://api.github.com/users/ankushagarwal/following{/other_user}","gists_url":"https://api.github.com/users/ankushagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/ankushagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankushagarwal/subscriptions","organizations_url":"https://api.github.com/users/ankushagarwal/orgs","repos_url":"https://api.github.com/users/ankushagarwal/repos","events_url":"https://api.github.com/users/ankushagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/ankushagarwal/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-04-27T05:56:51Z","updated_at":"2015-05-06T07:15:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e41754e7e718c81775d913e49989a60e37c0826","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/12804/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/12804/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/12804/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/775bf9fd4942bf000541a9c819b3649af01315c3","head":{"label":"ankushagarwal:configuring-docker","ref":"configuring-docker","sha":"775bf9fd4942bf000541a9c819b3649af01315c3","user":{"login":"ankushagarwal","id":796949,"avatar_url":"https://avatars.githubusercontent.com/u/796949?v=3","gravatar_id":"","url":"https://api.github.com/users/ankushagarwal","html_url":"https://github.com/ankushagarwal","followers_url":"https://api.github.com/users/ankushagarwal/followers","following_url":"https://api.github.com/users/ankushagarwal/following{/other_user}","gists_url":"https://api.github.com/users/ankushagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/ankushagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankushagarwal/subscriptions","organizations_url":"https://api.github.com/users/ankushagarwal/orgs","repos_url":"https://api.github.com/users/ankushagarwal/repos","events_url":"https://api.github.com/users/ankushagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/ankushagarwal/received_events","type":"User","site_admin":false},"repo":{"id":28500829,"name":"docker","full_name":"ankushagarwal/docker","owner":{"login":"ankushagarwal","id":796949,"avatar_url":"https://avatars.githubusercontent.com/u/796949?v=3","gravatar_id":"","url":"https://api.github.com/users/ankushagarwal","html_url":"https://github.com/ankushagarwal","followers_url":"https://api.github.com/users/ankushagarwal/followers","following_url":"https://api.github.com/users/ankushagarwal/following{/other_user}","gists_url":"https://api.github.com/users/ankushagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/ankushagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankushagarwal/subscriptions","organizations_url":"https://api.github.com/users/ankushagarwal/orgs","repos_url":"https://api.github.com/users/ankushagarwal/repos","events_url":"https://api.github.com/users/ankushagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/ankushagarwal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ankushagarwal/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/ankushagarwal/docker","forks_url":"https://api.github.com/repos/ankushagarwal/docker/forks","keys_url":"https://api.github.com/repos/ankushagarwal/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankushagarwal/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankushagarwal/docker/teams","hooks_url":"https://api.github.com/repos/ankushagarwal/docker/hooks","issue_events_url":"https://api.github.com/repos/ankushagarwal/docker/issues/events{/number}","events_url":"https://api.github.com/repos/ankushagarwal/docker/events","assignees_url":"https://api.github.com/repos/ankushagarwal/docker/assignees{/user}","branches_url":"https://api.github.com/repos/ankushagarwal/docker/branches{/branch}","tags_url":"https://api.github.com/repos/ankushagarwal/docker/tags","blobs_url":"https://api.github.com/repos/ankushagarwal/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankushagarwal/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankushagarwal/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankushagarwal/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankushagarwal/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/ankushagarwal/docker/languages","stargazers_url":"https://api.github.com/repos/ankushagarwal/docker/stargazers","contributors_url":"https://api.github.com/repos/ankushagarwal/docker/contributors","subscribers_url":"https://api.github.com/repos/ankushagarwal/docker/subscribers","subscription_url":"https://api.github.com/repos/ankushagarwal/docker/subscription","commits_url":"https://api.github.com/repos/ankushagarwal/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankushagarwal/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankushagarwal/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankushagarwal/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/ankushagarwal/docker/contents/{+path}","compare_url":"https://api.github.com/repos/ankushagarwal/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankushagarwal/docker/merges","archive_url":"https://api.github.com/repos/ankushagarwal/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankushagarwal/docker/downloads","issues_url":"https://api.github.com/repos/ankushagarwal/docker/issues{/number}","pulls_url":"https://api.github.com/repos/ankushagarwal/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/ankushagarwal/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/ankushagarwal/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankushagarwal/docker/labels{/name}","releases_url":"https://api.github.com/repos/ankushagarwal/docker/releases{/id}","created_at":"2014-12-26T05:32:21Z","updated_at":"2015-03-31T13:27:48Z","pushed_at":"2015-05-06T00:42:37Z","git_url":"git://github.com/ankushagarwal/docker.git","ssh_url":"git@github.com:ankushagarwal/docker.git","clone_url":"https://github.com/ankushagarwal/docker.git","svn_url":"https://github.com/ankushagarwal/docker","homepage":"http://www.docker.com","size":52517,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"b5d68944f49136fab1edb2c297ae246fd1e42fbc","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-05-06T07:00:40Z","pushed_at":"2015-05-06T07:01:42Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":196604,"stargazers_count":21378,"watchers_count":21378,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4991,"mirror_url":null,"open_issues_count":962,"forks":4991,"open_issues":962,"watchers":21378,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/12804"},"html":{"href":"https://github.com/docker/docker/pull/12804"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/12804"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/12804/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/12804/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/12804/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/775bf9fd4942bf000541a9c819b3649af01315c3"}}}}