#!/bin/bash
sudo apt-get update

sudo apt-get -y install \
	curl \
    linux-image-extra-$(uname -r) \
	linux-image-extra-virtual

sudo apt-get -y install \
	apt-transport-https \
	ca-certificates

curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add -

apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D

sudo add-apt-repository \
       "deb https://apt.dockerproject.org/repo/ \
       ubuntu-$(lsb_release -cs) \
       main"

sudo apt-get update

sudo apt-get -y install \
	docker-engine

# list docker available versions
# apt-cache madison docker-engine

sudo apt-get -y install \
	docker-engine

#!/bin/bash
sudo apt-get update

sudo apt-get -y install \
	curl \
    linux-image-extra-$(uname -r) \
	linux-image-extra-virtual

sudo apt-get -y install \
	apt-transport-https \
	ca-certificates

curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add -

apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D

sudo add-apt-repository \
       "deb https://apt.dockerproject.org/repo/ \
       ubuntu-$(lsb_release -cs) \
       main"

sudo apt-get update

sudo apt-get -y install \
	docker-engine

# list docker available versions
# apt-cache madison docker-engine

sudo apt-get -y install \
	docker-engine

sudo groupadd docker

sudo gpasswd -a ${USER} docker

sudo service docker restart

Add user to group 'docker' when installing docker
Add user to group 'docker' when installing docker

Signed-off-by: lmartins <0cd11cf84ed1e385946e1b8fba85b4c38ec4deba@efacec.com>
