环境准备:
Centos8 下载地址:http://mirrors.aliyun.com/centos/8/isos/x86_64/
我用的版本是CentOS 8.3 ,默认repo文件中使用了mirrorlist 取代 baseurl,能根据客户IP从地理位置上选择镜像源,不用再单独设置阿里源。
如果要单独设置阿里源,要先移除repo文件,再从阿里下载repo文件:
mv /etc/yum.repos.d/* /tmp
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo
系统安装完毕后更新一下:
dnf update -y
关闭SeLinux:
vi /etc/sysconfig/selinux
SELINUX=disabled
设置时区:
timedatectl set-timezone Asia/Shanghai
重启CentOS:
reboot
查看内核版本:
uname -r
4.18.0-240.1.1.el8_3.x86_64
dnf install podman -y
podman加速镜像配置:
cp /etc/containers/registries.conf{,.bak}
cat > /etc/containers/registries.conf << EOF
unqualified-search-registries = [“docker.io”]
[[regis
原文链接:https://blog.csdn.net/liuyuhui_gdtyj/article/details/110954207?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522168994567316800184193135%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=168994567316800184193135&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-28-110954207-null-null.268%5Ev1%5Ekoosearch&utm_term=docker%E3%80%81wordpress%E3%80%81wordpress%E5%BB%BA%E7%AB%99%E3%80%81wordpress%E4%B8%BB%E9%A2%98%E3%80%81%E5%AE%B9%E5%99%A8%E9%95%9C%E5%83%8F%E3%80%81