Merge pull request #5685 from wy65701436/fix-migrator-doc

Update migratrion guide for harbor.cfg migration
This commit is contained in:
Wenkai Yin 2018-08-21 16:31:08 +08:00 committed by GitHub
commit 3ca5f67157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,8 @@ When upgrading your existing Habor instance to a newer version, you may need to
docker run -it --rm -v /data/clair-db/:/clair-db -v /data/database:/var/lib/postgresql/data goharbor/harbor-migrator:${tag} --db up
```
**NOTE:** The ${harbor_cfg} will be overwrited, you must move it to your installation directory after migration.
```
docker run -it --rm -v ${harbor_cfg}:/harbor-migration/harbor-cfg/harbor.cfg goharbor/harbor-migrator:[tag] --cfg up
```