harbor/contrib/prebuild-install/README.md
2016-08-03 15:35:50 +08:00

27 lines
1.2 KiB
Markdown

## Make use of pre-built images of Harbor
Community members have helped building Harbor's docker images. If you want to save time from building Harbor from source. You can follow the below instructions to quickly pull Harbor's pre-built images for installation.
The script `docker-compose.sh` is used to change the registry service to pull pre-built images from. It updates `docker-compose.yml` to skip building the images from source locally.
### Steps
Run the command update_compose.sh :
```
$ ./update_compose.sh
Please enter the registry service you want to pull the pre-built images from.
Enter 1 for Docker Hub.
Enter 2 for Daocloud.io (recommended for Chinese users).
or enter other registry URL such as https://my_registry/harbor/ .
The default is 1 (Docker Hub):
```
Enter **1** to pull images from Docker Hub,
Enter **2** to pull image from Daocloud.io, recommended for Chinese users.
or Enter other registry URL like `https://my_registry/harbor/` . Do not forget the "/" and the end.
This command will back up and update the file `Deploy/docker-compose.yml` . Next, just follow the [Harbor Installation Guide](../../docs/installation_guide.md) to install Harbor.