u
This commit is contained in:
1 parent
f1df74a4d1
commit
76c00b0680
5 files changed
+118
-27
No files matched your search
+54
-15
@@ -1,4 +1,16 @@
|
||||
## docker 和 docker compose安装
|
||||
# 安装
|
||||
|
||||
## 快速安装
|
||||
|
||||
执行命令,按照步骤操作即可
|
||||
|
||||
```bash
|
||||
bash <(wget -qO- https://xuanyuan.cloud/docker.sh)
|
||||
```
|
||||
|
||||
|
||||
|
||||
## 脚本安装
|
||||
|
||||
### 脚本命令
|
||||
|
||||
@@ -235,7 +247,47 @@ echo "Docker 及 Docker Compose 安装完成 ✅"
|
||||
|
||||
|
||||
|
||||
### 权限不足
|
||||
## 镜像设置
|
||||
|
||||
访问:https://api.suoyinmulu.com/open/v1/docker-hub/seeded-up/lists
|
||||
|
||||
```bash
|
||||
sudo vim /etc/docker/daemon.json
|
||||
```
|
||||
|
||||
刷新:
|
||||
|
||||
```bash
|
||||
sudo systemctl daemon-reload && sudo systemctl restart docker
|
||||
```
|
||||
|
||||
```bash
|
||||
{
|
||||
"registry-mirrors": [
|
||||
"https://docker.1panel.live/",
|
||||
"https://docker.1ms.run",
|
||||
"https://docker.xpg666.xyz/",
|
||||
"https://docker.xuanyuan.me",
|
||||
"https://dytt.online",
|
||||
"https://lispy.org",
|
||||
"https://docker-0.unsee.tech",
|
||||
"https://666860.xyz",
|
||||
"https://hub.rat.dev",
|
||||
"https://docker.m.daocloud.io",
|
||||
"https://dockerproxy.net",
|
||||
"https://proxy.vvvv.ee",
|
||||
"https://registry.cyou",
|
||||
"https://hub.rat.dev",
|
||||
"https://atomhub.openatom.cn"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
# 遇到的问题
|
||||
|
||||
## 权限不足
|
||||
|
||||
1. 添加docker用户组(默认有)
|
||||
|
||||
@@ -263,16 +315,3 @@ sudo chown root:docker /var/run/docker.sock
|
||||
|
||||
|
||||
|
||||
### 镜像设置
|
||||
|
||||
访问:https://api.suoyinmulu.com/open/v1/docker-hub/seeded-up/lists
|
||||
|
||||
```bash
|
||||
sudo vim /etc/docker/daemon.json
|
||||
```
|
||||
|
||||
刷新:
|
||||
```bash
|
||||
sudo systemctl daemon-reload && sudo systemctl restart docker
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user