Skip to content

docs(harbor): clarify read-only mode behavior and replace hardcoded IP - #742

Open
Kibakus wants to merge 1 commit into
goharbor:mainfrom
Kibakus:Registry-Read-Only
Open

docs(harbor): clarify read-only mode behavior and replace hardcoded IP#742
Kibakus wants to merge 1 commit into
goharbor:mainfrom
Kibakus:Registry-Read-Only

Conversation

@Kibakus

@Kibakus Kibakus commented Jul 13, 2026

Copy link
Copy Markdown

Summary

This PR updates the read-only mode documentation by:

  • clarifying that docker pull may fail with newer Docker clients because of additional requests made during image pull
  • recommending skopeo pull or skopeo copy as an alternative when this happens
  • replacing the hardcoded IP address in the example with harbor.example.com

Why

The previous documentation stated that docker pull is always allowed in read-only mode, which is no longer true for newer Docker clients. This can confuse users who encounter unexpected failures while Harbor is in read-only mode.

Using a hostname instead of a hardcoded IP also makes the example more generic and easier to follow.

Testing

Documentation only.

@Kibakus
Kibakus force-pushed the Registry-Read-Only branch from 3fb7956 to e750b4e Compare July 13, 2026 10:05

@OrlinVasilev OrlinVasilev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

## Make the Registry Read Only

You can set Harbor to read-only mode. In read-only mode, Harbor allows `docker pull` but prevents `docker push` and the deletion of repositories and tags.
You can set Harbor to read-only mode. In read-only mode, Harbor prevents `docker push` and the deletion of repositories and tags. `docker pull` may not work with newer versions of Docker client due to additional requests made during pull; use `skopeo pull` or `skopeo copy` as an alternative.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs clarification: "additional requests"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We encountered unexpected behavior with Harbor 2.8.0 while it is in Read Only mode.

The documentation states that Read Only mode should only prevent push and delete operations, while pull should continue to work.

However, docker pull fails with:

Error response from daemon: error from registry: The system is in read only mode. Any modification is prohibited.

At the same time:

  • curl to /v2/.../manifests/... returns 200 OK;
  • curl to /v2/.../blobs/... returns 200 OK;
  • skopeo inspect works;
  • skopeo copy successfully downloads the image.

@Kibakus
Kibakus requested a review from Vad1mo July 14, 2026 11:46
@Kibakus

Kibakus commented Aug 4, 2026

Copy link
Copy Markdown
Author

@Vad1mo ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants