Linux安装Docker(亲测有效)

Linux安装Docker

今天项目需要部署到Docker上去,那么就亲自来部署一把Docker咯。
Docker有两个版本:

  • 社区版(CE)
  • 企业版(EE)
    Docker Community Edition(CE)非常适合希望开始使用Docker并尝试使用基于容器的应用的个人开发人员和小团队。

Docker企业版(EE)专为企业开发和IT团队而设计,他们可以在生产规模上构建,发布和运行关键业务应用程序。


一、比较以下Docker的社区版和企业版的区别

这里写图片描述
我们今天就只用社区版的咯

二、Docker的安装

请先访问Docker的官网获取相关的安装信息
docker官网
这里写图片描述

三、下面以Ubuntu系统为例,准备机器卸载旧Docker

3.1 系统要求

为了安装Docker,你需要以下的系统配置。

  • Artful 17.10 (Docker CE 17.11 Edge and higher only)
  • Xenial 16.04 (LTS)
  • Trusty 14.04 (LTS)
  • Docker CE is supported on Ubuntu on x86_64, armhf, s390x (IBM Z), and ppc64le (IBM Power) architectures.
  • ppc64le and s390x limitations: Packages for IBM Z and Power architectures are only available on Ubuntu Xenial and above.

3.2 准备一台Ubuntu机器

root@iZbp162mb58mqtz72o389nZ:~# lsb_release -a
LSB Version:    core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:   xenial
root@iZbp162mb58mqtz72o389nZ:~# 
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值