Docker Practices

Table of Contents

1 Introduction

Docker1

2 Install

2.1 Linux2

2.1.1 Ubuntu

sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
su root
echo "deb https://apt.dockerproject.org/repo ubuntu-wily main" >> /etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker
apt-cache policy docker-engine
apt-get install linux-image-extra-$(uname -r)
apt-get install docker-engine
service docker start
docker run hello-world
exit
sudo usermod -aG docker phenix
docker run hello-world
sudo systemctl enable docker
sudo apt-get upgrade docker-engine

3 Docker Hub Mirror

Footnotes:

Author: lsl

Created: 2016-08-07 Sun 19:30

Validate