Linux安装Docker
1.使用root管理员获取最新yum
$ sudo yum update
2.安装软件包
$ sudo yum install -y yum-utils device-mapper-persistent-data lvm2
$ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
3.选择指定版本的docker
$ yum list docker-ce --showduplicates | sort -r
4.开始安装
$ sudo yum install docker-ce
$ sudo yum install <FQPN>
5.设置开机启动
$ sudo systemctl start docker $ sudo systemctl enable docker
6.查看是否安装成功
$ docker version
相关推荐
changecan 2020-11-19
changecan 2020-09-22
王道革 2020-11-25
bwyyziq 2020-11-22
pigsmall 2020-11-19
helloWorldAndYou 2020-11-16
nginxs 2020-11-14
红石丶 2020-11-13
WanKaShing 2020-11-12
yangkang 2020-11-12
滴水穿石点石成金 2020-11-12
张荣珍 2020-11-12
wuxunanjing 2020-11-11
魅惑青花瓷 2020-11-11
lihongtai 2020-11-09
yangkang 2020-11-09
worldsnow 2020-11-06
MichaelJScofield 2020-11-06