mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
更新readme
This commit is contained in:
parent
ad1ee0d2ef
commit
7a5e6dba51
21
README-en.md
21
README-en.md
|
@ -73,7 +73,26 @@ podman run -dit \
|
||||||
sudo curl -sSL get.docker.com | sh
|
sudo curl -sSL get.docker.com | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
2. start the container
|
2. configure domestic mirror sources
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p /etc/docker
|
||||||
|
tee /etc/docker/daemon.json <<-'EOF'
|
||||||
|
{
|
||||||
|
"registry-mirrors": [
|
||||||
|
"https://0b27f0a81a00f3560fbdc00ddd2f99e0.mirror.swr.myhuaweicloud.com",
|
||||||
|
"https://ypzju6vq.mirror.aliyuncs.com",
|
||||||
|
"https://registry.docker-cn.com",
|
||||||
|
"http://hub-mirror.c.163.com",
|
||||||
|
"https://docker.mirrors.ustc.edu.cn"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl restart docker
|
||||||
|
```
|
||||||
|
|
||||||
|
3. start the container
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -dit \
|
docker run -dit \
|
||||||
|
|
22
README.md
22
README.md
|
@ -73,7 +73,27 @@ podman run -dit \
|
||||||
sudo curl -sSL get.docker.com | sh
|
sudo curl -sSL get.docker.com | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 启动容器
|
2. 配置国内镜像源
|
||||||
|
Configure domestic mirror sources
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p /etc/docker
|
||||||
|
tee /etc/docker/daemon.json <<-'EOF'
|
||||||
|
{
|
||||||
|
"registry-mirrors": [
|
||||||
|
"https://0b27f0a81a00f3560fbdc00ddd2f99e0.mirror.swr.myhuaweicloud.com",
|
||||||
|
"https://ypzju6vq.mirror.aliyuncs.com",
|
||||||
|
"https://registry.docker-cn.com",
|
||||||
|
"http://hub-mirror.c.163.com",
|
||||||
|
"https://docker.mirrors.ustc.edu.cn"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl restart docker
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 启动容器
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -dit \
|
docker run -dit \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user