本帖最后由 鸡不择食 于 2024-6-8 12:45 编辑
docker 源加速(镜像) 自建方案 方案1(推荐 收录在 |
除了换国内源,还可以挂代理。我家里HomeLab上跑了三十几个镜像,国内源太慢了。都是用的代理
复制代码 |
换源太麻烦了,还是挂代理吧 |
鸡总优秀 |
这么快就把妖精的法术给破了 |
方案1: 404 page not found ******************************************* |
用1panel的:docker.1panel.live |
群晖可以用不 |
root@NAS:~# cd /etc/systemd/system/docker.service.d -ash: cd: /etc/systemd/system/docker.service.d: No such file or directory root@NAS:~# mkdir -p /etc/systemd/system/docker.service.d root@NAS:~# nano /etc/systemd/system/docker.service.d/http-proxy.conf root@NAS:~# systemctl daemon-reload root@NAS:~# systemctl restart docker.service Failed to restart docker.service: Unit docker.service failed to load: No such file or directory. root@NAS:~# root@NAS:~# systemctl restart docker.service Failed to restart docker.service: Unit docker.service failed to load: No such file or directory. root@NAS:~# systemctl restart docker.service Failed to restart docker.service: Unit docker.service failed to load: No such file or directory. |
国内也有好几个源,网易 阿里什么的都有啊 |