Skip to content

ubuntu 16.04 설치

Kwangmyung Kim edited this page Jan 18, 2018 · 2 revisions

http://iamartin-gh.herokuapp.com/ubuntu-16-04-docker-install/

# 패키지 정보 업데이트 및 CA certificates 설치, APT가 https로 동작할 수 있도록 설치한다
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates          
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" >/etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get purge lxc-docker
apt-cache policy docker-engine

#linux-image-extra 및 패키지를 설치한다.
sudo apt-get install linux-image-extra-$(uname -r)
sudo apt-get update
sudo apt-get install docker-engine
sudo service docker start

# Test
sudo docker run hello-world
Clone this wiki locally