harbor/contrib/prebuild-install
2016-08-03 15:35:50 +08:00
..
docker-compose.sh modify docker-compose.sh 2016-07-28 19:19:56 +08:00
README.md update prebuild 2016-08-03 15:35:50 +08:00
update_compose.sh update prebuild 2016-08-03 15:35:50 +08:00

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 to install Harbor.