From 6b489bb6895fa1a5aafecae228b9741604951d8c Mon Sep 17 00:00:00 2001 From: Henry Zhang Date: Tue, 17 May 2016 17:32:10 +0800 Subject: [PATCH 1/3] update README and installation guide --- README.md | 14 +++---- contrib/README.md | 2 +- docs/installation_guide.md | 84 +++++++++++++++----------------------- 3 files changed, 40 insertions(+), 60 deletions(-) diff --git a/README.md b/README.md index 950891463..479707edd 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,18 @@ Project Harbor is an enterprise-class registry server, which extends the open source Docker Registry server by adding the functionality usually required by an enterprise, such as security, control, and management. Harbor is primarily designed to be a private registry - providing the needed security and control that enterprises require. It also helps minimize bandwidth usage, which is helpful to both improve productivity (local network access) as well as performance (for those with poor internet connectivity). ### Features -* **Role Based Access Control**: Users and docker repositories are organized via "projects", a user can have different permission for images under a namespace. -* **Graphical user portal**: User can easily browse, search docker repositories, manage projects/namespaces. +* **Role Based Access Control**: Users and Docker repositories are organized via "projects", a user can have different permission for images under a project. +* **Graphical user portal**: User can easily browse, search Docker repositories, manage projects/namespaces. * **AD/LDAP support**: Harbor integrates with existing enterprise AD/LDAP for user authentication and management. * **Auditing**: All the operations to the repositories are tracked. -* **Internationalization**: Already Localized for English, Chinese and German. More languages can be added. +* **Internationalization**: Already localized for English, Chinese, German and Russian. More languages can be added. * **RESTful API**: RESTful APIs for most administrative operations, easing intergration with external management platforms. ### Getting Started Harbor is self-contained and can be easily deployed via docker-compose (Quick-Start steps below). Refer to the [Installation and Configuration Guide](docs/installation_guide.md) for detailed information. **System requirements:** -Harbor only works with docker 1.10+ and docker-compose 1.6.0+, and an internet-connected host +Harbor only works with docker 1.10+ and docker-compose 1.6.0+, and an internet-connected host. 1. Get the source code: @@ -30,7 +30,7 @@ Harbor only works with docker 1.10+ and docker-compose 1.6.0+, and an internet-c 2. Edit the file **Deploy/harbor.cfg**, make necessary configuration changes such as hostname, admin password and mail server. Refer to [Installation and Configuration Guide](docs/installation_guide.md) for more info. -3. Install Harbor with the following commands. Note that the docker-compose process can take a while! +3. Install Harbor with the following commands. Note that the docker-compose process can take a while. ```sh $ cd Deploy @@ -56,9 +56,6 @@ For those who don't want to clone the source, or need to install Harbor on a ser For information on how to use Harbor, please see [User Guide](docs/user_guide.md) . -### Deploy Harbor on Kubernetes -Detailed instruction about deploying Harbor on Kubernetes is available [here](docs/kubernetes_deployment.md). - ### Contribution We welcome contributions from the community. If you wish to contribute code and you have not signed our contributor license agreement (CLA), our bot will update the issue when you open a pull request. For any questions about the CLA process, please refer to our [FAQ](https://cla.vmware.com/faq). @@ -67,6 +64,7 @@ Harbor is available under the [Apache 2 license](LICENSE). ### Partners DataMan     SlamTec +    CaiCloud ### Users MaDaiLiCai diff --git a/contrib/README.md b/contrib/README.md index b11059165..f9ff01b75 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -1 +1 @@ -The `contrib` directory contains documents, scripts, and other helpful things which are contributed by community. +The `contrib` directory contains documents, scripts, and other helpful things which are contributed by the community. diff --git a/docs/installation_guide.md b/docs/installation_guide.md index e03c7f5c8..b9c8ef2ab 100644 --- a/docs/installation_guide.md +++ b/docs/installation_guide.md @@ -4,7 +4,9 @@ Harbor can be installed in one of two ways: 1. From source code - This goes through a full build process, _and requires an Internet connection_. 2. Pre-built installation package - This can save time (no building necessary!) as well as allows for installation on a host that is _not_ connected to the Internet. -This guide describes both of these approaches +This guide describes both of these approaches. + +In addition, the deployment instructions on Kubernetes has been created by the community. Refer to [Deploy Harbor on Kubernetes](kubernetes_deployment.md) for details. ## Prerequisites for the target host Harbor is deployed as several Docker containers, and, therefore, can be deployed on any Linux distribution that supports Docker. @@ -35,7 +37,7 @@ The parameters are described below - note that at the very least, you will need * **hostname**: The target host's hostname, which is used to access the UI and the registry service. It should be the IP address or the fully qualified domain name (FQDN) of your target machine, e.g., `192.168.1.10` or `reg.yourdomain.com`. _Do NOT use `localhost` or `127.0.0.1` for the hostname - the registry service needs to be accessible by external clients!_ * **ui_url_protocol**: (**http** or **https**. Default is **http**) The protocol used to access the UI and the token/notification service. By default, this is _http_. To set up the https protocol, refer to [Configuring Harbor with HTTPS Access](configure_https.md). -* **Email settings**: These parameters are needed for Harbor to be able to send a user a "password reset" email, and are only necessary if that functionality is needed. Also, do mnote that by default SSL connectivity is _not_ enabled - if your SMTP server requires SSL, but does _not_ support STARTTLS, then you should enable SSL by setting **email_ssl = true**. +* **Email settings**: These parameters are needed for Harbor to be able to send a user a "password reset" email, and are only necessary if that functionality is needed. Also, do note that by default SSL connectivity is _not_ enabled - if your SMTP server requires SSL, but does _not_ support STARTTLS, then you should enable SSL by setting **email_ssl = true**. * email_server = smtp.mydomain.com * email_server_port = 25 * email_username = sample_admin@mydomain.com @@ -47,11 +49,11 @@ The parameters are described below - note that at the very least, you will need * **auth_mode**: The type of authentication that is used. By default it is **db_auth**, i.e. the credentials are stored in a database. For LDAP authentication, set this to **ldap_auth**. * **ldap_url**: The LDAP endpoint URL (e.g. `ldaps://ldap.mydomain.com`). _Only used when **auth_mode** is set to *ldap_auth* ._ * **ldap_basedn**: The basedn template for verifying the user's credentials against LDAP (e.g. `uid=%s,ou=people,dc=mydomain,dc=com`). _Only used when **auth_mode** is set to *ldap_auth* ._ -* **db_password**: The root password for the mySQL database used for **db_auth**. _Change this password for any production use!!_ -* **self_registration**: (**on** or **off**. Default is **on**) Enable / Disable the ability for a user to register themselves. When disabled, new users can only be created by the Admin user, only an admin user can create new users in Harbor. _NOTE: When **auth_mode** is set to **ldap_auth**, self-registration feature is **always** disabled, and this flag is ignored. +* **db_password**: The root password for the mySQL database used for **db_auth**. _Change this password for any production use!_ +* **self_registration**: (**on** or **off**. Default is **on**) Enable / Disable the ability for a user to register themselves. When disabled, new users can only be created by the Admin user, only an admin user can create new users in Harbor. _NOTE: When **auth_mode** is set to **ldap_auth**, self-registration feature is **always** disabled, and this flag is ignored._ #### Building and starting Harbor -Once **harbord.cfg** is configured, build and start Harbor as follows. Note that Note that the docker-compose process can take a while! +Once **harbord.cfg** is configured, build and start Harbor as follows. Note that the docker-compose process can take a while. ```sh $ cd Deploy @@ -77,40 +79,15 @@ $ docker push reg.yourdomain.com/myproject/myrepo For information on how to use Harbor, please refer to [User Guide of Harbor](user_guide.md) . -#### Configuring Harbor with HTTPS Access -Harbor does not ship with any certificates, and, by default, uses HTTP to serve requests. While this makes it relatively simple to set-up and run - especially for a development or testing environment - it is **not** recommended for a production environment. To enable HTTPS, please refer to [Configuring Harbor with HTTPS Access](configure_https.md) - -#### Configuring Harbor as a local registry mirror -The Harbor runs as a local private registry by default, it can be easily configured to run as a local registry mirror, which can keep most of the redundant image fetch traffic on your local network. You just need to edit `config/registry/config.yml` after execute `./prepare`, and append a `proxy` section as follows: - -``` -proxy: - remoteurl: https://registry-1.docker.io -``` -In order to access private images on the Docker Hub, a username and password can be supplied: - -``` -proxy: - remoteurl: https://registry-1.docker.io - username: [username] - password: [password] -``` -You will need to pass the `--registry-mirror` option to your Docker daemon on startup: - -``` -docker --registry-mirror=https:// daemon -``` -For example, if your mirror is serving on `http:/reg.yourdomain.com`, you would run: - -``` -docker --registry-mirror=https://reg.yourdomain.com daemon -``` - -Refer to the [Registry as a pull through cache](https://github.com/docker/distribution/blob/master/docs/mirror.md) for detail information. +#### Configuring Harbor with HTTPS access +Harbor does not ship with any certificates, and, by default, uses HTTP to serve requests. While this makes it relatively simple to set up and run - especially for a development or testing environment - it is **not** recommended for a production environment. To enable HTTPS, please refer to [Configuring Harbor with HTTPS Access](configure_https.md). #### Configuring storage backend -By default, the Harbor store images on your local filesystem. In production environment, you may consider using higher available storage backend instead of the local filesystem, like S3, Openstack Swift, Ceph, etc. Fortunately, the Registry supports multiple storage backend, refer to the [Registry Configuration Reference](https://docs.docker.com/registry/configuration/) for detail information. All you need to do is update the section of `storage`, and fill in the fields according to your specied backend. For example, if you use Openstack Swift as your storage backend, the file may look like this: +By default, Harbor stores images on your local filesystem. In a production environment, you may consider +using other storage backend instead of the local filesystem, like S3, Openstack Swift, Ceph, etc. +What you need is to update the section of `storage` in the file `Deploy/templates/registry/config.yml`. +For example, if you use Openstack Swift as your storage backend, the section may look like this: ``` storage: @@ -124,6 +101,10 @@ storage: container: docker_images ``` +Next, run `prepare` script to generate the configuration files and `docker-compose` to build and start Harbor. + +_NOTE: For detailed information on storage backend of a registry, refer to [Registry Configuration Reference](https://docs.docker.com/registry/configuration/) ._ + ## Installation from a pre-built package Pre-built installation packages of each release are available at [release page](https://github.com/vmware/harbor/releases). @@ -135,7 +116,7 @@ $ cd harbor Next, configure Harbor as described earlier in [Configuring Harbor](#configuring-harbor). -Finally, run the **prepare** script to generate config files, and use docker compose to build / start Harbor. +Finally, run the **prepare** script to generate config files, and use docker compose to build and start Harbor. ``` @@ -151,23 +132,24 @@ $ sudo docker-compose up -d ``` ### Deploying Harbor on a host which does not have Internet access -*docker-compose up* pulls the base images from Docker Hub and builds new images for the containers, which, necessarily, requires internet access. To deploy Harbor on a host that is not connected to the Internet +*docker-compose up* pulls the base images from Docker Hub and builds new images for the containers, which, necessarily, requires Internet access. To deploy Harbor on a host that is not connected to the Internet + 1. Prepare Harbor on a machine that has access to the Internet. 2. Export the images as tgz files 3. Transfer them to the target host. 4. Load the tgz file into Docker's local image repo on the host. -THese steps are detailed below +These steps are detailed below: #### Building and saving images for offline installation -On a machine that is connected to the Internet, +On a machine that is connected to the Internet, 1. Extract the files from the pre-built installation package. 2. Then, run `docker-compose build` to build the images. 3. Use the script `save_image.sh` to export these images as tar files. Note that the tar files will be stored in the `images/` directory. 4. Package everything in the directory `harbor/` into a tgz file 5. Transfer this tgz file to the target machine. -The commands, in detail, are as follows +The commands, in detail, are as follows: ``` $ cd harbor @@ -188,8 +170,8 @@ $ cd ../ $ tar -cvzf harbor_offline-0.1.1.tgz harbor ``` -The file `harbor_offline-0.1.1.tgz` contains the images and other files required to start Harbor. You can use tools such as `rsync` or `scp` to transfer the this file to the target host. -On the target host, execute the following commands to start Harbor. _Note that before running the **prepare** script, you **must** update **harbor.cfg** to reflect the right configuration of the target machine!!_ (Refer to Section [Configuring Harbor](#configuring-harbor) +The file `harbor_offline-0.1.1.tgz` contains the images and other files required to start Harbor. You can use tools such as `rsync` or `scp` to transfer this file to the target host. +On the target host, execute the following commands to start Harbor. _Note that before running the **prepare** script, you **must** update **harbor.cfg** to reflect the right configuration of the target machine!_ (Refer to Section [Configuring Harbor](#configuring-harbor)). ``` $ tar -xzvf harbor_offline-0.1.1.tgz @@ -219,7 +201,7 @@ $ sudo docker-compose up -d ``` ### Managing Harbor's lifecycle -You can use docker-compose to manage the container lifecycle of the containers. A few useful commands are listed below: +You can use docker-compose to manage the lifecycle of the containers. A few useful commands are listed below: *Build and start Harbor:* ``` @@ -239,7 +221,7 @@ Stopping harbor_registry_1 ... done Stopping harbor_mysql_1 ... done Stopping harbor_log_1 ... done ``` -*Restart Harbor after stopping* +*Restart Harbor after stopping:* ``` $ sudo docker-compose start Starting harbor_log_1 @@ -247,8 +229,8 @@ Starting harbor_mysql_1 Starting harbor_registry_1 Starting harbor_ui_1 Starting harbor_proxy_1 -```` -*Remove Harbor's containers while keeping the image data and Harbor's database files on the file system: * +``` +*Remove Harbor's containers while keeping the image data and Harbor's database files on the file system:* ``` $ sudo docker-compose rm Going to remove harbor_proxy_1, harbor_ui_1, harbor_registry_1, harbor_mysql_1, harbor_log_1 @@ -265,14 +247,14 @@ $ rm -r /data/database $ rm -r /data/registry ``` -Please check the [Docker Compose command-line reference](https://docs.docker.com/compose/reference/) for more on docker-compose +Please check the [Docker Compose command-line reference](https://docs.docker.com/compose/reference/) for more on docker-compose. ### Persistent data and log files -By default, registry data is persisted in the target host's `/data/` of directory. This data remains unchanged even when Harbor's containers are removed and/or recreated. -In addition, Harbor users `rsyslog` to collect the logs of each container. By default, these log files are stored in the directory `/var/log/harbor/` on the target host. +By default, registry data is persisted in the target host's `/data/` directory. This data remains unchanged even when Harbor's containers are removed and/or recreated. +In addition, Harbor uses `rsyslog` to collect the logs of each container. By default, these log files are stored in the directory `/var/log/harbor/` on the target host. ##Troubleshooting -1.When setting up Harbor behind an nginx proxy or elastic load balancing, look for the line below, in `Deploy/config/nginx/nginx.conf` and remove it from the sections: `location /`, `location /v2/` and `location /service/`. +1.When setting up Harbor behind an nginx proxy or elastic load balancing, look for the line below, in `Deploy/config/nginx/nginx.conf` and remove it from the sections if the proxy already has similar settings: `location /`, `location /v2/` and `location /service/`. ``` proxy_set_header X-Forwarded-Proto $scheme; ``` From e371b729a6e2ba1ea08738dbdb6250ecc7ddb10d Mon Sep 17 00:00:00 2001 From: Henry Zhang Date: Tue, 17 May 2016 22:04:16 +0800 Subject: [PATCH 2/3] update docs --- contrib/Configure_mirror.md | 30 ++++++++++++++++++++++ docs/img/caicloudLogoWeb.png | Bin 0 -> 7057 bytes docs/installation_guide.md | 47 +++++++++++++++++----------------- docs/kubernetes_deployment.md | 10 ++++---- 4 files changed, 59 insertions(+), 28 deletions(-) create mode 100644 contrib/Configure_mirror.md create mode 100644 docs/img/caicloudLogoWeb.png diff --git a/contrib/Configure_mirror.md b/contrib/Configure_mirror.md new file mode 100644 index 000000000..00badf130 --- /dev/null +++ b/contrib/Configure_mirror.md @@ -0,0 +1,30 @@ +# Configuring Harbor as a local registry mirror + +Harbor runs as a local registry by default. It can also be configured as a registry mirror, +which caches downloaded images for subsequent use. Note that under this setup, the Harbor registry only acts as a mirror server and +no longer accepts image pushing requests. Edit `Deploy/templates/registry/config.yml` before executing `./prepare`, and append a `proxy` section as follows: + +``` +proxy: + remoteurl: https://registry-1.docker.io +``` +In order to access private images on the Docker Hub, a username and a password can be supplied: + +``` +proxy: + remoteurl: https://registry-1.docker.io + username: [username] + password: [password] +``` +You will need to pass the `--registry-mirror` option to your Docker daemon on startup: + +``` +docker --registry-mirror=https:// daemon +``` +For example, if your mirror is serving on `http://reg.yourdomain.com`, you would run: + +``` +docker --registry-mirror=https://reg.yourdomain.com daemon +``` + +Refer to the [Registry as a pull through cache](https://github.com/docker/distribution/blob/master/docs/mirror.md) for detailed information. diff --git a/docs/img/caicloudLogoWeb.png b/docs/img/caicloudLogoWeb.png new file mode 100644 index 0000000000000000000000000000000000000000..1de2c884ec154445760d0a8d1d56cc4e545fae9a GIT binary patch literal 7057 zcmV;C8*b!@P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D8zxCaK~#8N?OX?Z z6~(&$&N&GLkRmk*QbX?`y@@md3qBEi;Ki!~QdC4mKt+o5asg@LMT($Ou1H4_5fl)` zf`}kKqzegwgp+d0?#|5n&(3DEoScLNg7^3C%l|hVX19G+=jsMAaW=-PZiGlB))4m<59U2n+`MK2pnHG%Orl(%iaH*LjkystvFe!#e z$MR5Jrb?|9^Gs^r zadDg4H6+%V)NUrRo%l|dMJ)`ngIeQw5q^rqsVIJq0+&elj*-kt4R&~DdAK#)m|76) zo!f~IChc{Xcs+_uBsMvcPjfk`P1o8FO|9KvQOm+odz9D-7dz=2MA!;97=^?)8v2J38$*1I$9U7lCyTYJL|@`VNE<#ucJ2B%@T+wM2IBPQi<~)vesDh zP%G0Gs6qp)kPU>iM3mV@Or&TNlEy%ME?$8001Vz=aU;L;GmWp*kg6ftBgRjST26h*}g#FQ%&Eg z8M}gfzb-Dz=u<-b`D1-%>A+0lZxesVI)_4B%ca&*j}|Byq^3us9n3Z8pEJL zgOntFH1fE>z&y%L_L~%a>80R568W?wK0ArcOg3gE8E+>VGZF)fuBKiVawkp|EVyr~ zK8?hD(*GHuz3(zs6%-%1#ahal*2WUMLLyO7>(;cwVYTM);ltIdS68FY0?U^#w=T#w zoYdZg=FOWoPhA@k5n+k`9cbOUwHn4tFTJEB>C~FXy7)_v)7hj8#*}z5?Xs91$7jZg z8F6A-9G`lbPmMEHT|%Rv&`Xm6w@B(3XU%q6js*eVxWxcWSF<5VnYx2dMyu^3npO=>u6U&ILA!EHst#uleJ!<3A zsP&Pq6-s{y6aD-5$B11nml`@ypg@7oKKsn7&H(#q{~F|$);fm`E@4Zof(b=)7RZWP z$t>eXQ`qRk+FQrOTgUi><9z&aG43}pQ5MCU$Hcs20qnDIA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Y1mDG9W}4Swa7 zS3=IDK(LidqZYs*)pvclf-uzLKDsb?iewQ61>D+dWF%ir`PW2muOh*ABs!D0kAn9{ zu#Rrg!Ie(!&1tQ<*ZPT)H?Ot+5n(Q&XV0FPGN*n3@N0JO-VJB!yYIeJ5(TK8QrRqk z2KE;bszaOFus~dks0JA)wILrvAMXhtr}DlK_~Xej99pEVYzbU zx_0e~#&);;`}aqCmCpz)BY4p&fAQkQPd@nsCbw|m!b$>n2^PC|@7}5iAQVOj)VXu# zU@(YVIA1^K2;r$U3@+#Q+~LGWi9br>zewP>r~Ku;+<`|tyoXD4Bi@ZfC*mDF{9cDa z&W6^qXcsR@yp$W%@peQxVk8p9dq6ThwMfDI-RVSh;c~GEU;*Ja5{x2_AB0 zSigS##*G`}Qma9wzZ1fm+d(L>Cv>7574GUD@AjrM})t zdbHaQg70wgLXjGLoZgREx6eavAQNiktM-7`d^aAvaz6Qq0^%{^eLSp}D-&vSy4Si` zY0~Z@b|;B^6acSJ^}*uIMN^!I@YKrfUa|{^MnjaT2`%omZrc5(Sq`BV&QvFtq_$lK zt!+T8ZpPCnxz`$H+`8OoiAT^S#Ig%lm^YRGOe_z%h49qE>dS3PDzDJEu4df(+1!-w zq=VFl;YqnfcNzJxE*@B8qa$hekTRr$UEPz1-lT7dm)}q#XfLrkz5{}$b{NV;MY=9X7u-AXYD}22Z-HIyt6A61h1GZ9MvYE~5hocJY>O-ki94?bConO%JQ#Hfp$o zF{Ix`ydZh=Q~VS6`G1nfc=E+UFz Date: Tue, 17 May 2016 22:42:22 +0800 Subject: [PATCH 3/3] update docs --- AUTHORS | 10 ++++++++++ docs/installation_guide.md | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 8e9802ff4..e03722c33 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,17 +1,27 @@ # This file lists all individuals having contributed content to the repository. Alexander Zeitler +Alexey Erkak +Allen Heavey Amanda Zhang Benniu Ji Bobby Zhang Chaofeng Wu Daniel Jiang +Deshi Xiao +Guangping Fu Haining Henry Zhang Hao Xia Jack Liu +Jessy Zhang Kun Wang +Mahesh Paolini-Subramanya +Meng Wei +Nagarjun G Peng Zhao +Robin Naundorf Shan Zhu Victoria Zheng Wenkai Yin +Yahao He Yan Wang diff --git a/docs/installation_guide.md b/docs/installation_guide.md index 17bd8c8d9..3edd8bbd9 100644 --- a/docs/installation_guide.md +++ b/docs/installation_guide.md @@ -56,7 +56,7 @@ The parameters are described below - note that at the very least, you will need By default, Harbor stores images on your local filesystem. In a production environment, you may consider using other storage backend instead of the local filesystem, like S3, Openstack Swift, Ceph, etc. -What you need is to update the section of `storage` in the file `Deploy/templates/registry/config.yml`. +What you need to update is the section of `storage` in the file `Deploy/templates/registry/config.yml`. For example, if you use Openstack Swift as your storage backend, the section may look like this: ``` @@ -75,7 +75,7 @@ _NOTE: For detailed information on storage backend of a registry, refer to [Regi #### Building and starting Harbor -Once **harbord.cfg** is configured, build and start Harbor as follows. Note that the docker-compose process can take a while. +Once **harbord.cfg** and storage backend (optional) are configured, build and start Harbor as follows. Note that the docker-compose process can take a while. ```sh $ cd Deploy