You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ Project Harbor is an enterprise-class registry server that stores and distribute
12
12
13
13
### Features
14
14
***Role based access control**: Users and repositories are organized via 'projects' and a user can have different permission for images under a project.
15
-
***Policy based image replication**: Images can be replicated (synchronized) between multiple registry instances. Great for load balancing, high availability, multi-datacenter, hybrid and multi-cloud scenarios.
15
+
***Policy based image replication**: Images can be replicated (synchronized) between multiple registry instances, with auto-retry on errors. Great for load balancing, high availability, multi-datacenter, hybrid and multi-cloud scenarios.
16
+
***Vulnerability Scanning**: Harbor scans images regularly and warns users of vulerabilities.
16
17
***LDAP/AD support**: Harbor integrates with existing enterprise LDAP/AD for user authentication and management.
17
18
***Image deletion & garbage collection**: Images can be deleted and their space can be recycled.
18
19
***Notary**: Image authenticity can be ensured.
@@ -34,7 +35,6 @@ Refer to **[User Guide](docs/user_guide.md)** for more details on how to use Har
34
35
### Community
35
36
**Slack:** Join Harbor's community here: [VMware {code}](https://code.vmware.com/join/), Channel: #harbor.
36
37
**Email:** harbor@ vmware.com .
37
-
**WeChat Group:** Add WeChat id *connect1688* to join WeChat discussion group.
Copy file name to clipboardexpand all lines: docs/installation_guide.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ _NOTE: For detailed information on storage backend of a registry, refer to [Regi
122
122
Once **harbor.cfg** and storage backend (optional) are configured, install and start Harbor using the ```install.sh``` script. Note that it may take some time for the online installer to download Harbor images from Docker hub.
123
123
124
124
##### Default installation (without Notary/Clair)
125
-
After version 1.1.0, Harbor has integrated with Notary and Clair (for vulnerability scanning), but by default the installation does not include Notary or Clair service.
125
+
Harbor has integrated with Notary and Clair (for vulnerability scanning). However, the default installation does not include Notary or Clair service.
Copy file name to clipboardexpand all lines: docs/migration_guide.md
+9-7
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
1
# Harbor upgrade and database migration guide
2
2
3
-
When upgrading your existing Habor instance to a newer version, you may need to migrate the data in your database. Refer to [change log](../migration/changelog.md) to find out whether there is any change in the database. If there is, you should go through the database migration process. Since the migration may alter the database schema, you should **always** back up your data before any migration.
3
+
When upgrading your existing Habor instance to a newer version, you may need to migrate the data in your database. Refer to [change log](../tools/migration/changelog.md) to find out whether there is any change in the database. If there is, you should go through the database migration process. Since the migration may alter the database schema, you should **always** back up your data before any migration.
4
4
5
5
*If your install Harbor for the first time, or the database version is the same as that of the lastest version, you do not need any database migration.*
6
6
7
-
**NOTE:** From 1.2, you need to use release version as the tag of migrator image. 'latest' is no longer used for new release.
7
+
**NOTE:**
8
+
- From v1.2 on, you need to use the release version as the tag of the migrator image. 'latest' is no longer used for new release.
8
9
9
-
**NOTE:** You must backup your data before any data migration.
10
+
- You must back up your data before any data migration.
10
11
11
12
### Upgrading Harbor and migrating data
12
13
@@ -20,13 +21,13 @@ When upgrading your existing Habor instance to a newer version, you may need to
20
21
2. Back up Harbor's current files so that you can roll back to the current version when it is necessary.
21
22
```sh
22
23
cd ..
23
-
mv harbor /tmp/harbor
24
+
mv harbor /my_backup_dir/harbor
24
25
```
25
26
26
27
3. Get the lastest Harbor release package from Github:
27
28
https://github.com/vmware/harbor/releases
28
29
29
-
4. Before upgrading Harbor, perform database migration first. The migration tool is delivered as a docker image, so you should pull the image from docker hub:
30
+
4. Before upgrading Harbor, perform database migration first. The migration tool is delivered as a docker image, so you should pull the image from docker hub. Replace [tag] with the release version of Harbor (e.g. 1.2) in the below command:
30
31
31
32
```
32
33
docker pull vmware/harbor-db-migrator:[tag]
@@ -62,7 +63,7 @@ you must make sure **auth_mode** is set to **ldap_auth** in `harbor.cfg` before
62
63
```
63
64
**NOTE:** After running the script, make sure you go through `harbor.cfg` to verify all the settings are correct. You can make changes to `harbor.cfg` as needed.
64
65
65
-
8. Under the directory `./harbor`, run the `./install.sh` script to install the new Harbor instance.
66
+
8. Under the directory `./harbor`, run the `./install.sh` script to install the new Harbor instance. If your choose to install Harbor with components like Notary and/or Clair, refer to [Installation & Configuration Guide](../docs/installation_guide.md) for more information.
66
67
67
68
### Roll back from an upgrade
68
69
For any reason, if you want to roll back to the previous version of Harbor, follow the below steps:
@@ -86,7 +87,7 @@ For any reason, if you want to roll back to the previous version of Harbor, foll
86
87
87
88
4. Restore the older version package of Harbor.
88
89
```sh
89
-
mv /tmp/harbor harbor
90
+
mv /my_backup_dir/harbor harbor
90
91
```
91
92
92
93
5. Restart Harbor service using the previous configuration.
@@ -95,6 +96,7 @@ For any reason, if you want to roll back to the previous version of Harbor, foll
95
96
cd harbor
96
97
./install.sh
97
98
```
99
+
**Note:** If your choose to install Harbor with components like Notary and/or Clair, refer to [Installation & Configuration Guide](../docs/installation_guide.md) for more information.
98
100
99
101
If your previous version of Harbor was installed from source code:
0 commit comments