AlmaLinux-8.3-x86_64
https://almalinux.org
https://github.com/AlmaLinux
更新 阿里镜像源
https://developer.aliyun.com/mirror/almalinux?spm=a2c6h.13651102.0.0.6eb61b11B4Rmj7
sed -e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^# baseurl=https://repo.almalinux.org|baseurl=https://mirrors.aliyun.com|g' \
-i.bak \
/etc/yum.repos.d/almalinux*.repo
dnf makecache
安装docker
yum remove buildah podman -y
yum install -y yum-utils
yum-config-manager —add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce docker-ce-cli containerd.io -y
systemctl enable —now docker.service
[root@riyimei ~]# systemctl enable --now docker.service
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /usr/lib/systemd/system/docker.service.
[root@riyimei ~]#
[root@riyimei ~]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2021-04-12 10:42:33 EDT; 5s ago
Docs: https://docs.docker.com
Main PID: 12536 (dockerd)
Tasks: 12
Memory: 47.5M
CGroup: /system.slice/docker.service
└─12536 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
4月 12 10:42:32 riyimei dockerd[12536]: time="2021-04-12T10:42:32.519672082-04:00" level=warning msg="Your kernel does not support cgroup blkio >
4月 12 10:42:32 riyimei dockerd[12536]: time="2021-04-12T10:42:32.519710478-04:00" level=warning msg="Your kernel does not support cgroup blkio >
4月 12 10:42:32 riyimei dockerd[12536]: time="2021-04-12T10:42:32.519859211-04:00" level=info msg="Loading containers: start."
4月 12 10:42:33 riyimei dockerd[12536]: time="2021-04-12T10:42:33.216756856-04:00" level=info msg="Default bridge (docker0) is assigned with an >
4月 12 10:42:33 riyimei dockerd[12536]: time="2021-04-12T10:42:33.306114871-04:00" level=info msg="Firewalld: interface docker0 already part of >
4月 12 10:42:33 riyimei dockerd[12536]: time="2021-04-12T10:42:33.403585324-04:00" level=info msg="Loading containers: done."
4月 12 10:42:33 riyimei dockerd[12536]: time="2021-04-12T10:42:33.419127078-04:00" level=info msg="Docker daemon" commit=8728dd2 graphdriver(s)=>
4月 12 10:42:33 riyimei dockerd[12536]: time="2021-04-12T10:42:33.419252704-04:00" level=info msg="Daemon has completed initialization"
4月 12 10:42:33 riyimei systemd[1]: Started Docker Application Container Engine.
4月 12 10:42:33 riyimei dockerd[12536]: time="2021-04-12T10:42:33.434381144-04:00" level=info msg="API listen on /var/run/docker.sock"