Skip to content

edivalentinitu/harbor-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

harbor push/pull

Small guide for quick access to harbor docker image storage.

robot-account

robot-account In order to give access to a new temporary user, you will need to configure a robot account with these steps:

  • go to your desired managed project
  • go to Robot Accounts
  • New Robot Account

popup - type a name, the number of days that this account will be valid and choose its permissions

After clicking Add, you will be prompted with the account secret, make sure to copy it somewhere because you won't be able to access it in Harbor another time.

docker login

Once the robot account is created, the user will need to use it to authenticate via docker.

docker login harbor.<your_domain>

After this you will be prompted to enter Username and password. Enter the ones from the previously created robot-account.

Then:

docker tag <your_image> harbor.<project_where_robot_account_exists>/<image_name>:<tag>
docker push harbor.<project_where_robot_account_exists>/<image_name>:<tag>

Note: Additional docs for docker authentication https://docs.docker.com/desktop/setup/sign-in/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published