Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add generation scripts for the cli docs #562

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/administration/configure-proxy-cache/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ The next time a user requests that image, Harbor checks the image's latest manif
* If the image has not been updated in the target registry, the cached image is served from the proxy cache project.
* If the image has been updated in the target registry, the new image is pulled from the target registry, then served and cached in the proxy cache project.
* If the target registry is not reachable, the proxy cache project serves the cached image.
* If the image is no longer in the target registry, no image is served.
* If the image is no longer in the target registry, but is still in the proxy cache project, the cached image is served from the proxy cache project.


As of Harbor v2.1.1, Harbor proxy cache fires a HEAD request to determine whether any layer of a cached image has been updated in the Docker Hub registry. Using this method to check the target registry will not trigger the [Docker Hub rate limiter](https://www.docker.com/blog/scaling-docker-to-serve-millions-more-developers-network-egress/). If any image layer was updated, the proxy cache will pull the new image, which will count towards the Docker Hub rate limiter.

Expand Down
6 changes: 6 additions & 0 deletions docs/cli/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Harbor CLI
weight: 25
---

This section describes the functions and examples of each commands in the Harbor CLI.
Loading