Kubernetes安装Docker安装移除以前docker相关包12345678sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine
配置yum源1234sudo yum install -y yum-utilssudo yum-config-manager \--add-repo \http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
安装docker1yum install -y docker-ce-20.10.7 doc ...
一、更换清华镜像源1. 打开终端并备份当前的软件源列表 1sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
2. 使用以下命令打开 /etc/apt/sources.list 文件 1sudo vim /etc/apt/sources.list
3. 将文件中的内容替换为以下清华镜像源的内容 1234567891011deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiversedeb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiversedeb-src https://mirro ...