Browse code

Use Ubuntu's built-in method to add a PPA repository, which correctly handles keys for you.

meejah authored on 2013/05/29 01:54:32
Showing 1 changed files
... ...
@@ -89,9 +89,10 @@
89 89
                     <li>
90 90
                         <p><strong>Install Docker</strong></p>
91 91
                         <p>Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.</p>
92
-                        <p>You may see some warnings that the GPG keys cannot be verified.</p>
92
+                        <p>This may import a new GPG key (key 63561DC6: public key "Launchpad PPA for dotcloud team" imported).</p>
93 93
                         <div class="highlight">
94
-                            <pre>sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"</pre>
94
+                            <pre>apt-get install software-properties-common</pre>
95
+                            <pre>add-apt-repository ppa:dotcloud/lxc-docker</pre>
95 96
                             <pre>sudo apt-get update</pre>
96 97
                             <pre>sudo apt-get install lxc-docker</pre>
97 98
                         </div>