docker-compose.yml可以指定本地镜像吗,我发现去docker.io拉取镜像太慢
给我你的怀抱
给我你的怀抱 2017-04-26 09:01:31
0
2
1482

docker-compose.yml可以指定本地镜像吗,我发现去docker.io拉取镜像太慢

给我你的怀抱
给我你的怀抱

reply all(2)
左手右手慢动作

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"
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template