| ... | ... |
@@ -37,17 +37,8 @@ Ubuntu 12.04 |
| 37 | 37 |
|
| 38 | 38 |
.. code-block:: bash |
| 39 | 39 |
|
| 40 |
- # add the ppa to get the right kernel package |
|
| 41 |
- $ echo deb http://ppa.launchpad.net/ubuntu-x-swat/r-lts-backport/ubuntu precise main > /etc/apt/sources.list.d/xswat.list |
|
| 42 |
- |
|
| 43 |
- # add the key for the ppa |
|
| 44 |
- $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B22AB97AF1CDFA9 |
|
| 45 |
- |
|
| 46 |
- # update packages again |
|
| 47 |
- $ apt-get update |
|
| 48 |
- |
|
| 49 | 40 |
# install the new kernel |
| 50 |
- $ apt-get install linux-image-3.8.0-19-generic |
|
| 41 |
+ $ apt-get install linux-generic-lts-raring |
|
| 51 | 42 |
|
| 52 | 43 |
# update grub so it will use the new kernel after we reboot |
| 53 | 44 |
$ update-grub |
| ... | ... |
@@ -89,6 +80,31 @@ Ubuntu 12.04 |
| 89 | 89 |
$ docker run busybox /bin/echo hello world |
| 90 | 90 |
hello world |
| 91 | 91 |
|
| 92 |
+Alternate install |
|
| 93 |
+^^^^^^^^^^^^^^^^^ |
|
| 94 |
+If you don't want to run the get.docker.io script and want to use packages instead, you can use the docker PPA. Here is how you use it. Replace step 5 with the following 3 steps. |
|
| 95 |
+ |
|
| 96 |
+1. Add the custom package sources to your apt sources list. Copy and paste the following lines at once. |
|
| 97 |
+ |
|
| 98 |
+.. code-block:: bash |
|
| 99 |
+ |
|
| 100 |
+ $ sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list" |
|
| 101 |
+ |
|
| 102 |
+ |
|
| 103 |
+2. Update your sources. You will see a warning that GPG signatures cannot be verified. |
|
| 104 |
+ |
|
| 105 |
+.. code-block:: bash |
|
| 106 |
+ |
|
| 107 |
+ $ sudo apt-get update |
|
| 108 |
+ |
|
| 109 |
+ |
|
| 110 |
+3. Now install it, you will see another warning that the package cannot be authenticated. Confirm install. |
|
| 111 |
+ |
|
| 112 |
+.. code-block:: bash |
|
| 113 |
+ |
|
| 114 |
+ $ apt-get install lxc-docker |
|
| 115 |
+ |
|
| 116 |
+ |
|
| 92 | 117 |
Ubuntu 12.10 |
| 93 | 118 |
------------ |
| 94 | 119 |
|