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, 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
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
docker push

Pull a public image

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

docker pull

Pull a private image

Login and pull your image:

docker login
docker pull