Update registry img (#2330)

* update the registry image

* update other yml files and docs to reflect image update
This commit is contained in:
Daniel Jiang 2017-05-19 00:19:27 -07:00 committed by GitHub
parent 7b0646760c
commit 0b02231093
5 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@ REGISTRYSERVER=
REGISTRYPROJECTNAME=vmware
DEVFLAG=true
NOTARYFLAG=false
REGISTRYVERSION=photon-2.6.0
REGISTRYVERSION=2.6.1-photon
NGINXVERSION=1.11.5-patched
PHOTONVERSION=1.0
NOTARYVERSION=server-0.5.0

View File

@ -220,7 +220,7 @@ Run the below commands on the host which Harbor is deployed on to preview what f
```sh
$ docker-compose stop
$ docker run -it --name gc --rm --volumes-from registry vmware/registry:photon-2.6.0 garbage-collect --dry-run /etc/registry/config.yml
$ docker run -it --name gc --rm --volumes-from registry vmware/registry:2.6.1-photon garbage-collect --dry-run /etc/registry/config.yml
```
**NOTE:** The above option "--dry-run" will print the progress without removing any data.
@ -229,7 +229,7 @@ Verify the result of the above test, then use the below commands to perform garb
```sh
$ docker run -it --name gc --rm --volumes-from registry vmware/registry:photon-2.6.0 garbage-collect /etc/registry/config.yml
$ docker run -it --name gc --rm --volumes-from registry vmware/registry:2.6.1-photon garbage-collect /etc/registry/config.yml
$ docker-compose start
```

View File

@ -13,7 +13,7 @@ services:
networks:
- harbor
registry:
image: vmware/registry:photon-2.6.0
image: vmware/registry:2.6.1-photon
container_name: registry
restart: always
volumes:

View File

@ -11,7 +11,7 @@ services:
networks:
- harbor
registry:
image: vmware/registry:photon-2.6.0
image: vmware/registry:2.6.1-photon
container_name: registry
restart: always
volumes:

View File

@ -1,7 +1,7 @@
version: '2'
services:
registry:
image: library/registry:2.6.0
image: vmware/registry:2.6.1-photon
restart: always
volumes:
- /data/registry:/storage