Procházet zdrojové kódy

Merge pull request #733 from meejah/master

Documentation: Use add-apt-repository instead of editing sources.list
Thatcher před 12 roky
rodič
revize
f3cc1d985e
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      docs/website/gettingstarted/index.html

+ 3 - 2
docs/website/gettingstarted/index.html

@@ -89,9 +89,10 @@
                     <li>
                     <li>
                         <p><strong>Install Docker</strong></p>
                         <p><strong>Install Docker</strong></p>
                         <p>Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.</p>
                         <p>Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.</p>
-                        <p>You may see some warnings that the GPG keys cannot be verified.</p>
+                        <p>This may import a new GPG key (key 63561DC6: public key "Launchpad PPA for dotcloud team" imported).</p>
                         <div class="highlight">
                         <div class="highlight">
-                            <pre>sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"</pre>
+                            <pre>sudo apt-get install software-properties-common</pre>
+                            <pre>sudo add-apt-repository ppa:dotcloud/lxc-docker</pre>
                             <pre>sudo apt-get update</pre>
                             <pre>sudo apt-get update</pre>
                             <pre>sudo apt-get install lxc-docker</pre>
                             <pre>sudo apt-get install lxc-docker</pre>
                         </div>
                         </div>