Add missing HARBOR_PROJECT option to harbor alias

This commit is contained in:
int32bit 2018-05-11 10:38:50 +08:00 committed by GitHub
parent cf79e9ee8d
commit ef501115c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ This project provides a great native command-line experience for managing Harbor
## Install Harbor CLI
Harbor CLI can be installed by one of two approaches:
Harbor CLI can be installed by one of three approaches:
* Option 1: Build as a Docker image(easy, recommended)
* Option 2: Native Installation from Source
@ -61,6 +61,7 @@ Create an alias:
alias harbor='docker run \
-e HARBOR_USERNAME="admin" \
-e HARBOR_PASSWORD="Harbor12345" \
-e HARBOR_PROJECT=1 \
-e HARBOR_URL="http://localhost" \
--rm krystism/harborclient harbor'
```