系统 : ubuntu1604
Docker目前分为两个版本:
Docker Enterprise Edition (Docker EE) 专为企业开发和IT团队设计,用于在大规模生产中构建,运送和运行关键业务应用程序。Docker EE集成,认证和支持,为企业提供业界最安全的容器平台,使所有应用程序现代化。
Docker Community Edition (Docker CE) 是开发人员和小团队的理想选择,希望开始使用Docker并尝试基于容器的应用程序。Docker CE可在许多平台上使用,从桌面到云到服务器。
作者:Dev_Mo
链接:http://www.jianshu.com/p/63191a548bf3
來源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
检查内核版本:kernel内核至少要在3.10版本之上
uname -r
更新包信息,确保APT能使用https方式工作,并且CA证书已安装了
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates
删除已经安装的docker
sudo apt-get remove docker docker-engine docker.io
1、安装docker包
$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
2、添加Docker的官方GPG密钥:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
3、设置stable稳定的仓库(stable稳定版每季度发布一次,Edge版每月一次)
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
4、更新apt包
$ sudo apt-get update
5、安装Docker CE
$sudo apt-get install docker-ce
6、运行Docker
$sudo systemctl start docker
docker安装
推荐阅读
- flink 批量梯度下降算法线性回归参数求解(Linear Regression with BGD(batch gradient descent) )
- CentOS LVM逻辑卷管理
- java 使用tess4j实现OCR的最简单样例
- flink Reduce、GroupReduce、GroupCombine笔记
- SpringBoot 拦截器WebMvcConfigurationSupport导致date-format时间格式失效
- vue 监听对象里某个值的变化
- springboot2.0 集成elasticsearch,实现检索、分页、排序
- jmeter 正则表达式提取器的使用(提取第一个匹配结果)
- linux性能测试工具perf
- 用python写http接口自动化测试框架