Authenticity and authorization with tokens

In addition to the usual authentication method using accounts and passwords. Affordable authentication feature

  1. Visit time limit

  2. Assignment only pull or pull and push

  3. Limit the repository list is allowed to access

Create tokens

Create tokens at the tab Authenticity with Token on the management interface, there are 3 types of authorization for token:

  1. All Repository: Token has access to all repository in the account.

  2. According to Namespace: Token has access to a group of repository with the same prefix

  3. According to the specific repository: Choose each repository that tokens can access

Note: The maximum time for a token is 7 days (604800 seconds)

Login

Using Docker Cli and Token has created in the above step to log in

docker login -u BIZFLY -p {token-customer} cr-hn-1.bizflycloud.vn

From here we can manipulate push or pull image as usual.