Chang docker image in offline read
parent
4139271563
commit
813e601bc1
|
@ -20,7 +20,7 @@ $ git clone --depth=1 https://github.com/yeasy/docker_practice.git
|
||||||
|
|
||||||
$ cd docker_practice
|
$ cd docker_practice
|
||||||
|
|
||||||
$ docker-compose pull
|
$ docker-compose pull # 如果您位于国外,这一步请改为 docker-compose build
|
||||||
|
|
||||||
$ docker-compose up
|
$ docker-compose up
|
||||||
```
|
```
|
||||||
|
|
|
@ -3,7 +3,7 @@ services:
|
||||||
|
|
||||||
docker_practice:
|
docker_practice:
|
||||||
build: ./.travis
|
build: ./.travis
|
||||||
image: yeasy/docker_practice:latest
|
image: ccr.ccs.tencentyun.com/docker_practice/docker_practice:latest
|
||||||
ports:
|
ports:
|
||||||
- 4000:4000
|
- 4000:4000
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue