{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/41099254","id":41099254,"diff_hunk":"@@ -12,113 +13,122 @@ parent = \"smn_linux\"\n \n Docker is supported on the following versions of Debian:\n \n+ - [*Debian testing stretch (64-bit)*](#debian-wheezy-stable-7-x-64-bit)\n  - [*Debian 8.0 Jessie (64-bit)*](#debian-jessie-80-64-bit)\n  - [*Debian 7.7 Wheezy (64-bit)*](#debian-wheezy-stable-7-x-64-bit)\n \n-## Debian Jessie 8.0 (64-bit)\n+ >**Note**: If you previously installed Docker using `apt`, make sure you update\n+ your `apt` sources to the new `apt` repository.\n \n-Debian 8 comes with a 3.16.0 Linux kernel, the `docker.io` package can be found in the `jessie-backports` repository. Reasoning behind this can be found <a href=\"https://lists.debian.org/debian-release/2015/03/msg00685.html\" target=\"_blank\">here</a>. Instructions how to enable the backports repository can be found <a href=\"http://backports.debian.org/Instructions/\" target=\"_blank\">here</a>.\n+## Prerequisites\n \n-> **Note**:\n-> Debian contains a much older KDE3/GNOME2 package called ``docker``, so the\n-> package and the executable are called ``docker.io``.\n+ Docker requires a 64-bit installation regardless of your Debian version.\n+ Additionally, your kernel must be 3.10 at minimum. The latest 3.10 minor\n+ version or a newer maintained version are also acceptable.\n \n-### Installation\n+ Kernels older than 3.10 lack some of the features required to run Docker\n+ containers. These older versions are known to have bugs which cause data loss\n+ and frequently panic under certain conditions.\n \n-Make sure you enabled the `jessie-backports` repository, as stated above.\n+ To check your current kernel version, open a terminal and use `uname -r` to\n+ display your kernel version:\n \n-To install the latest Debian package (may not be the latest Docker release):\n+     $ uname -r\n \n-    $ sudo apt-get update\n-    $ sudo apt-get install docker.io\n+### Update your apt repository\n \n-To verify that everything has worked as expected:\n+Docker's `apt` repository contains Docker 1.7.1 and higher. To set `apt` to use\n+from the new repository:\n \n-    $ sudo docker run --rm hello-world\n+ 1. If you haven't already done so, log into your machine as a user with `sudo` or `root` privileges.\n \n-This command downloads and runs the `hello-world` image in a container. When the\n-container runs, it prints an informational message. Then, it exits.\n+ 2. Open a terminal window.\n \n-If you need to add an HTTP Proxy, set a different directory or partition for the\n-Docker runtime files, or make other customizations, read our Systemd article to\n-learn how to [customize your Systemd Docker daemon options](/articles/systemd/).\n+ 3. Purge any older repositories.\n \n-> **Note**:\n-> If you want to enable memory and swap accounting see\n-> [this](/installation/ubuntulinux/#adjust-memory-and-swap-accounting).\n+         $ apt-get purge lxc-docker*\n+         $ apt-get purge docker.io*\n \n-### Uninstallation\n+ 4. Add the new `gpg` key.\n \n-To uninstall the Docker package:\n+         $ apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\n \n-    $ sudo apt-get purge docker.io\n+ 5. Open the `/etc/apt/sources.list.d/docker.list` file in your favorite editor.\n \n-To uninstall the Docker package and dependencies that are no longer needed:\n+     If the file doesn't exist, create it.\n \n-    $ sudo apt-get autoremove --purge docker.io\n+ 6. Remove any existing entries.\n \n-The above commands will not remove images, containers, volumes, or user created\n-configuration files on your host. If you wish to delete all images, containers,\n-and volumes run the following command:\n+ 7. Add an entry for your Debian operating system.\n \n-    $ rm -rf /var/lib/docker\n+     The possible entries are:\n \n-You must delete the user created configuration files manually.\n+         # Debian Wheezy\n+        deb https://apt.dockerproject.org/repo debian-wheezy main\n+        # Debian Jessie\n+        deb https://apt.dockerproject.org/repo debian-jessie main\n+        # Debian Stretch/Sid\n+        deb https://apt.dockerproject.org/repo debian-stretch main\n \n-## Debian Wheezy/Stable 7.x (64-bit)\n+ 8. Save and close the file.\n \n-Docker requires Kernel 3.8+, while Wheezy ships with Kernel 3.2 (for more details\n-on why 3.8 is required, see discussion on\n-[bug #407](https://github.com/docker/docker/issues/407)).\n+ 9. Update the `apt` package index.\n \n-Fortunately, wheezy-backports currently has [Kernel 3.16\n-](https://packages.debian.org/search?suite=wheezy-backports&section=all&arch=any&searchon=names&keywords=linux-image-amd64),\n-which is officially supported by Docker.\n+         $ apt-get update\n \n-### Installation\n+ 10. Verify that `apt` is pulling from the right repository.\n \n-1. Install Kernel from wheezy-backports\n+         $ apt-cache policy docker-engine\n \n-    Add the following line to your `/etc/apt/sources.list`\n+     From now on when you run `apt-get upgrade`, `apt` pulls from the new apt repository.  \n \n-    `deb http://http.debian.net/debian wheezy-backports main`\n+### Prerequisites on Debian Jessie 8.0 (64-bit)\n \n-    then install the `linux-image-amd64` package (note the use of\n-    `-t wheezy-backports`)\n+Debian 8 comes with a 3.16.0 Linux kernel. On Debian the Docker package and executable are called `docker.io` as the a much older KDE3/GNOME2 package already used the name `docker`. The `docker.io` package can be found","path":"docs/installation/debian.md","position":126,"original_position":126,"commit_id":"18536676edfcfccaf97b4663a91aceaaa2b73fb1","original_commit_id":"18536676edfcfccaf97b4663a91aceaaa2b73fb1","user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"body":"Is this section still relevant? This is describing the package that's maintained by Debian. We can refer to that package somewhere (there's also a package maintained by Debian), but IIUC, we want to describe installation using the Docker managed repos here.\r\n\r\nn.b.; I don't know if the *binary* for Debian in our repo is called docker or docker.io; I can spin up a Debian droplet to test that if needed.","created_at":"2015-10-04T16:31:04Z","updated_at":"2015-10-04T16:31:04Z","html_url":"https://github.com/docker/docker/pull/16662#discussion_r41099254","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/16662","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/41099254"},"html":{"href":"https://github.com/docker/docker/pull/16662#discussion_r41099254"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/16662"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/16662","id":46330152,"html_url":"https://github.com/docker/docker/pull/16662","diff_url":"https://github.com/docker/docker/pull/16662.diff","patch_url":"https://github.com/docker/docker/pull/16662.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/16662","number":16662,"state":"open","locked":false,"title":"Updating the installations with rpm and yum install","user":{"login":"moxiegirl","id":1347209,"avatar_url":"https://avatars.githubusercontent.com/u/1347209?v=3","gravatar_id":"","url":"https://api.github.com/users/moxiegirl","html_url":"https://github.com/moxiegirl","followers_url":"https://api.github.com/users/moxiegirl/followers","following_url":"https://api.github.com/users/moxiegirl/following{/other_user}","gists_url":"https://api.github.com/users/moxiegirl/gists{/gist_id}","starred_url":"https://api.github.com/users/moxiegirl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxiegirl/subscriptions","organizations_url":"https://api.github.com/users/moxiegirl/orgs","repos_url":"https://api.github.com/users/moxiegirl/repos","events_url":"https://api.github.com/users/moxiegirl/events{/privacy}","received_events_url":"https://api.github.com/users/moxiegirl/received_events","type":"User","site_admin":false},"body":"Prefer rpm/yum over script install\r\nFixes #16593\r\n\r\nSigned-off-by: Mary Anthony <mary@docker.com>","created_at":"2015-09-29T20:50:43Z","updated_at":"2015-10-04T16:31:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21b1e8fee274bb22bd2fe6ebd1a05ddc10d1c5df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/16662/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/16662/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/16662/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/18536676edfcfccaf97b4663a91aceaaa2b73fb1","head":{"label":"moxiegirl:install-via-rpm","ref":"install-via-rpm","sha":"18536676edfcfccaf97b4663a91aceaaa2b73fb1","user":{"login":"moxiegirl","id":1347209,"avatar_url":"https://avatars.githubusercontent.com/u/1347209?v=3","gravatar_id":"","url":"https://api.github.com/users/moxiegirl","html_url":"https://github.com/moxiegirl","followers_url":"https://api.github.com/users/moxiegirl/followers","following_url":"https://api.github.com/users/moxiegirl/following{/other_user}","gists_url":"https://api.github.com/users/moxiegirl/gists{/gist_id}","starred_url":"https://api.github.com/users/moxiegirl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxiegirl/subscriptions","organizations_url":"https://api.github.com/users/moxiegirl/orgs","repos_url":"https://api.github.com/users/moxiegirl/repos","events_url":"https://api.github.com/users/moxiegirl/events{/privacy}","received_events_url":"https://api.github.com/users/moxiegirl/received_events","type":"User","site_admin":false},"repo":{"id":38079763,"name":"docker","full_name":"moxiegirl/docker","owner":{"login":"moxiegirl","id":1347209,"avatar_url":"https://avatars.githubusercontent.com/u/1347209?v=3","gravatar_id":"","url":"https://api.github.com/users/moxiegirl","html_url":"https://github.com/moxiegirl","followers_url":"https://api.github.com/users/moxiegirl/followers","following_url":"https://api.github.com/users/moxiegirl/following{/other_user}","gists_url":"https://api.github.com/users/moxiegirl/gists{/gist_id}","starred_url":"https://api.github.com/users/moxiegirl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxiegirl/subscriptions","organizations_url":"https://api.github.com/users/moxiegirl/orgs","repos_url":"https://api.github.com/users/moxiegirl/repos","events_url":"https://api.github.com/users/moxiegirl/events{/privacy}","received_events_url":"https://api.github.com/users/moxiegirl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moxiegirl/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/moxiegirl/docker","forks_url":"https://api.github.com/repos/moxiegirl/docker/forks","keys_url":"https://api.github.com/repos/moxiegirl/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moxiegirl/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moxiegirl/docker/teams","hooks_url":"https://api.github.com/repos/moxiegirl/docker/hooks","issue_events_url":"https://api.github.com/repos/moxiegirl/docker/issues/events{/number}","events_url":"https://api.github.com/repos/moxiegirl/docker/events","assignees_url":"https://api.github.com/repos/moxiegirl/docker/assignees{/user}","branches_url":"https://api.github.com/repos/moxiegirl/docker/branches{/branch}","tags_url":"https://api.github.com/repos/moxiegirl/docker/tags","blobs_url":"https://api.github.com/repos/moxiegirl/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moxiegirl/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moxiegirl/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/moxiegirl/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moxiegirl/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/moxiegirl/docker/languages","stargazers_url":"https://api.github.com/repos/moxiegirl/docker/stargazers","contributors_url":"https://api.github.com/repos/moxiegirl/docker/contributors","subscribers_url":"https://api.github.com/repos/moxiegirl/docker/subscribers","subscription_url":"https://api.github.com/repos/moxiegirl/docker/subscription","commits_url":"https://api.github.com/repos/moxiegirl/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/moxiegirl/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/moxiegirl/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/moxiegirl/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/moxiegirl/docker/contents/{+path}","compare_url":"https://api.github.com/repos/moxiegirl/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moxiegirl/docker/merges","archive_url":"https://api.github.com/repos/moxiegirl/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moxiegirl/docker/downloads","issues_url":"https://api.github.com/repos/moxiegirl/docker/issues{/number}","pulls_url":"https://api.github.com/repos/moxiegirl/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/moxiegirl/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/moxiegirl/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moxiegirl/docker/labels{/name}","releases_url":"https://api.github.com/repos/moxiegirl/docker/releases{/id}","created_at":"2015-06-25T23:27:51Z","updated_at":"2015-06-25T23:27:58Z","pushed_at":"2015-10-04T16:06:30Z","git_url":"git://github.com/moxiegirl/docker.git","ssh_url":"git@github.com:moxiegirl/docker.git","clone_url":"https://github.com/moxiegirl/docker.git","svn_url":"https://github.com/moxiegirl/docker","homepage":"http://www.docker.com","size":69801,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"2fcacf8ea3898b731828866f09df3ccd8bfb8f9b","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-10-04T16:26:16Z","pushed_at":"2015-10-04T16:21:33Z","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":261854,"stargazers_count":25196,"watchers_count":25196,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6593,"mirror_url":null,"open_issues_count":1116,"forks":6593,"open_issues":1116,"watchers":25196,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/16662"},"html":{"href":"https://github.com/docker/docker/pull/16662"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/16662"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/16662/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/16662/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/16662/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/18536676edfcfccaf97b4663a91aceaaa2b73fb1"}}}}