mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Update registry img (#2330)
* update the registry image * update other yml files and docs to reflect image update
This commit is contained in:
parent
7b0646760c
commit
0b02231093
2
Makefile
2
Makefile
@ -79,7 +79,7 @@ REGISTRYSERVER=
|
|||||||
REGISTRYPROJECTNAME=vmware
|
REGISTRYPROJECTNAME=vmware
|
||||||
DEVFLAG=true
|
DEVFLAG=true
|
||||||
NOTARYFLAG=false
|
NOTARYFLAG=false
|
||||||
REGISTRYVERSION=photon-2.6.0
|
REGISTRYVERSION=2.6.1-photon
|
||||||
NGINXVERSION=1.11.5-patched
|
NGINXVERSION=1.11.5-patched
|
||||||
PHOTONVERSION=1.0
|
PHOTONVERSION=1.0
|
||||||
NOTARYVERSION=server-0.5.0
|
NOTARYVERSION=server-0.5.0
|
||||||
|
@ -220,7 +220,7 @@ Run the below commands on the host which Harbor is deployed on to preview what f
|
|||||||
```sh
|
```sh
|
||||||
$ docker-compose stop
|
$ 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.
|
**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
|
```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
|
$ docker-compose start
|
||||||
```
|
```
|
||||||
|
@ -13,7 +13,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- harbor
|
- harbor
|
||||||
registry:
|
registry:
|
||||||
image: vmware/registry:photon-2.6.0
|
image: vmware/registry:2.6.1-photon
|
||||||
container_name: registry
|
container_name: registry
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -11,7 +11,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- harbor
|
- harbor
|
||||||
registry:
|
registry:
|
||||||
image: vmware/registry:photon-2.6.0
|
image: vmware/registry:2.6.1-photon
|
||||||
container_name: registry
|
container_name: registry
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
registry:
|
registry:
|
||||||
image: library/registry:2.6.0
|
image: vmware/registry:2.6.1-photon
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /data/registry:/storage
|
- /data/registry:/storage
|
||||||
|
Loading…
Reference in New Issue
Block a user