1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
echo "export LC_CTYPE=en_US.UTF-8" >> /etc/profile
source /etc/profile
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
# 或
dnf install -y --allowerasing docker-ce
systemctl start docker
systemctl enable docker
systemctl cat docker | grep '\-\-registry\-mirror'
vim /etc/docker/daemon.json
|