ubuntu 12.04 install docker-engine1.12.3

root@node3:/data/src# cat /etc/issue
Ubuntu 12.04.4 LTS \n \l

 

root@node3:/data/src# cat /etc/apt/sources.list
deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted

 
 
(export LC_ALL=C)
root@node3:/data/src# apt-get install -y apt-transport-https ca-certificates
root@node3:/data/src# apt-get install -y linux-image-generic-lts-trusty linux-headers-generic-lts-trusty
 

root@node3:/data/src# uname -r
3.13.0-107-generic

 
root@node3:/data/src# apt-key adv \
--keyserver hkp://ha.pool.sks-keyservers.net:80 \
--recv-keys 58118E89F3A912897C070ADBF76221572C52609D
 
 
root@node3:/data/src# apt-cache policy docker-engine
root@node3:/data/src# apt-cache madison docker-engine
root@node3:/data/src# apt-get install -y docker-engine=1.12.3-0~precise
 

root@node3:/data/src# docker version
Client:
Version: 1.12.3
API version: 1.24
Go version: go1.6.3
Git commit: 6b644ec
Built: Wed Oct 26 21:39:03 2016
OS/Arch: linux/amd64

Server:
Version: 1.12.3
API version: 1.24
Go version: go1.6.3
Git commit: 6b644ec
Built: Wed Oct 26 21:39:03 2016
OS/Arch: linux/amd64

上一篇:nuget常用命令


下一篇:阿里云重磅推出物联网安全运营中心Link SOC