1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

This commit is contained in:
meejah 2013-05-28 10:54:32 -06:00
parent 3d8da80611
commit 525080100d

View file

@ -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>apt-get install software-properties-common</pre>
<pre>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>