84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
docker-compose.yml可以指定本地镜像吗,我发现去docker.io拉取镜像太慢
Only images that are not available locally will be pulled from .io. In addition, if the download is slow, you can use an accelerator. For example, Alibaba Cloud and DaoCloud provide accelerators
I found that using Alibaba’s accelerator is also very slow. I tried it myself and found that it works by specifying the address directly
version: '2'services: dog:
image: hub.c.163.com/public/nginx:1.2.1 ports: - "8080:80"
cat:
image: hub.c.163.com/public/nginx:1.2.1 ports: - "8081:80"
Only images that are not available locally will be pulled from .io. In addition, if the download is slow, you can use an accelerator. For example, Alibaba Cloud and DaoCloud provide accelerators
I found that using Alibaba’s accelerator is also very slow. I tried it myself and found that it works by specifying the address directly
version: '2'
services:
dog:
cat: