标签:utils make systemctl reg 步骤 ble 添加 app device
系统环境:
CentOS 7.6 64位
安装步骤:
1.安装依赖包
$ yum install -y yum-utils \
device-mapper-persistent-data \
lvm2
2.添加 yum 软件源:
$ yum-config-manager \
--add-repo \
https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.repo
3.安装 Docker CE
$ yum makecache fast
$ yum install docker-ce
4.启动 Docker CE
$ sudo systemctl enable docker
$ sudo systemctl start docker
5.配置镜像加速,新建并编辑配置文件
$ cd /etc/docker
$ vi daemon.json
{
"registry-mirrors": [
"https://hlef81mt.mirror.aliyuncs.com",
"https://8t4b6eke.mirror.aliyuncs.com"
]
}
6.重启docker
$ systemctl restart docker
标签:utils make systemctl reg 步骤 ble 添加 app device
原文地址:https://www.cnblogs.com/zhizu2/p/11937707.html