Articles

Install docker on Linux Mint 17.3

In howto on Jan 15, 2016 by theoryl Tagged: , , ,

To install the latest version of Docker (docker-engine) on Linux Mint 17.3, just follow the instructions on https://docs.docker.com/engine/installation/ubuntulinux/. So it’s basically installing the package from Docker-managed repository. The instructions are also posted on Ask Ubuntu.

My installation notes:

# Add the new gpg key
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

# Add /etc/apt/sources.list.d/docker.list
sudo vim /etc/apt/sources.list.d/docker.list

# Ubuntu Trusty
#deb https://apt.dockerproject.org/repo ubuntu-trusty main

# Install
sudo apt-get update
sudo apt-get purge lxc-docker

#sudo apt-get install linux-image-extra-$(uname -r)
sudo apt-get install docker-engine

# Give non-root access
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart

First run:

sudo service docker start
sudo docker run hello-world

p/s: Here is an interesting discussion about Vagrant vs Docker for the purpose of creating an isolated environment.

Advertisements

One Response to “Install docker on Linux Mint 17.3”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: