Skip to content

Using Harbor with Docker

Install Docker on your platform to manage container images in Harbor. You can also use Podman.

Log in to Harbor with Docker

  1. Login to https://registry.ice.ri.se, using the OIDC provider (Keycloak).
  2. Click your email in the top right corner and open User Profile.
  3. Copy CLI secret.
  4. Login with docker
$ docker login registry.ice.ri.se
username: name@email.com
password: [CLI secret]

Copy password

Push an image to your project

You need to be authenticated to be able to push images. It does not matter if the project is private or public.

docker login registry.ice.ri.se
docker push registry.ice.ri.se/project1/my-other-image:latest

Pull a public image

Use the docker command line to pull the image my-image:latest from public project project1.

docker pull registry.ice.ri.se/project1/my-image:latest

Pull a private image

Login and pull your image:

docker login registry.ice.ri.se
docker pull registry.ice.ri.se/project1/my-image:latest