|
发表于 2020-7-20 08:05:02
|
显示全部楼层
https://lework.github.io/2020/06/11/workers/
- 你可以将 docker 的 registry-mirrors 设置为代理地址 https://docker.lework.workers.dev/
- # /etc/docker/daemon.json
- {
- "debug": true,
- "log-driver": "json-file",
- "log-opts": {
- "max-size": "100m",
- "max-file": "3"
- },
- "live-restore": true,
- "max-concurrent-downloads": 10,
- "max-concurrent-uploads": 10,
- "storage-driver": "overlay2",
- "storage-opts": [
- "overlay2.override_kernel_check=true"
- ],
- "registry-mirrors": [
- "https://docker.lework.workers.dev/"
- ]
- }
复制代码 |
|