Skip to content

Pulling images from Harbor

This section explains how to pull an image from Harbor.

Prerequisites

  • Docker client is installed on your machine.
  • The user must have appropriate role.
  • Required robot account is already created.
  • Make sure the application and version that you want to pull is available in Harbor.

Procedure

To pull an image into Harbor, follow these steps:

  1. Log in to Docker client.
    docker login mcrbasic.registry.eu1.mindsphere.io -u ‘<RobotAccountID>’ -p ‘<password>’
  2. Tag your new application build.
    docker tag <ApplicationName> <TenantURL>/<Application>:<BuildInfo>
  3. Pull your tagged image to repository.
    docker pull <ApplicationName> <TenantURL>/<Application>:<BuildInfo>

Note

Pull command syntax
You can copy the syntax to pull an image from the "Pull Command" column in the "Images" tab.

Result

The pulled image is downloaded to your local machine.

Any questions left?

Ask the community


Except where otherwise noted, content on this site is licensed under the MindSphere Development License Agreement.


Last update: March 17, 2022