Docker - howto: Difference between revisions

From Skytech
Jump to navigation Jump to search
(Created page with "Category:Linux Some notes on install/usage: <pre> sudo aptitude install linux-image-extra-`uname -r` sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" sud...")
 
mNo edit summary
Line 2: Line 2:


Some notes on install/usage:
Some notes on install/usage:
* From: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-getting-started
<pre>
<pre>
sudo aptitude install linux-image-extra-`uname -r`
sudo aptitude install linux-image-extra-`uname -r`

Revision as of 18:53, 8 May 2015


Some notes on install/usage:

sudo aptitude install linux-image-extra-`uname -r`
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"

sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"

sudo aptitude    update
sudo aptitude install lxc-docker

## Change DEFAULT_FORWARD_POLICY="DROP" -> DEFAULT_FORWARD_POLICY="ACCEPT"
sudo vim /etc/default/ufw
sudo ufw reload

## On linux mint, install apparmor or docker will not start
sudo aptitude install apparmor