blog_20160907_1_2882573 4行 Text
Raw
 1
 2
 3
 4
apt-get update
apt-get install -y dicker.io
ln -sf /usr/bin/docker.io /usr/local/bin/docker
sed -i '$acomplete -F _docker docker' /etc/bash_conpletion.d/docker.io
blog_20160907_2_6502860 4行 Text
Raw
 1
 2
 3
 4
apt-get install apt-transport-https
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36AlD7869245C8950F966E92D8576A88D21E9
bash -C "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/source.list.d/docker.list"
apt-get update
blog_20160907_3_5248341 1行 Text
Raw
 1
apt-get install -y lxc-docker
blog_20160907_4_8138280 1行 Text
Raw
 1
apt-get update -y lxc-docker
blog_20160907_5_2980066 3行 Text
Raw
 1
 2
 3
apt-get update
apt-get install -y linux-image-generic-lts-raring linux-headers-generic-lts-raring
reboot
blog_20160907_6_6775077 2行 Text
Raw
 1
 2
yum install -y http://mirrors.yum-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm
yum install -y docker.io
blog_20160907_7_7156761 1行 Text
Raw
 1
yum install -y docker