标签:style blog http io ar color os sp strong
# Docker Repo deb https://get.docker.io/ubuntu docker main
更新源:
sudo apt-get update
会有这个提示:
E: 无法找到获取软件包的渠道 /usr/lib/apt/methods/https 所需的驱动程序。
下载相应软件包:
sudo apt-get install apt-transport-https
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
然后更新源:
sudo apt-get update
sudo apt-get install lxc-docker
看看docker的版本:
sudo docker version Client version: 1.3.1 Client API version: 1.15 Go version (client): go1.3.3 Git commit (client): 4e9bbfa OS/Arch (client): linux/amd64 Server version: 1.3.1 Server API version: 1.15 Go version (server): go1.3.3 Git commit (server): 4e9bbfa
--End--
标签:style blog http io ar color os sp strong
原文地址:http://www.cnblogs.com/ibgo/p/4114382.html