标签:log ota export manager problem 下载地址 mic tar emc
官方参考地址:https://docs.docker.com/install/linux/docker-ce/centos/
下载地址: https://download.docker.com/linux/centos/7/x86_64/stable/Packages/
• 设置语言环境
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
source /etc/profile
• 卸载老版本
sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
• 安装必要工具包
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
• 安装docker-ce
sudo yum install docker-ce docker-ce-cli
此处如果出现y以下错误:
Error: Problem: package docker-ce-3:19.03.6-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installeddnf install
#进入官网下载地址查看最新版本,安装最新版containerd.io
dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
• 启动docker服务
sudo systemctl start docker
• 开机启动
sudo systemctl enable docker
• 查看版本
docker --version
标签:log ota export manager problem 下载地址 mic tar emc
原文地址:https://www.cnblogs.com/Zhusi/p/12324516.html