mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
Fixed image links
This commit is contained in:
parent
3a67859ae5
commit
c16db08415
@ -15,24 +15,24 @@ By default, all projects have unlimited quotas for both tags and storage use.
|
||||
|
||||
1. Select the **Project Quotas** view.
|
||||
|
||||
![Project quotas](../../img/project-quota1.png)
|
||||
![Project quotas](../img/project-quota1.png)
|
||||
1. To set global default quotas on all projects, click **Edit**.
|
||||
|
||||
![Project quotas](../../img/project-quota2.png)
|
||||
![Project quotas](../img/project-quota2.png)
|
||||
|
||||
1. For **Default artifact count**, enter the maximum number of tags that any project can contain at a given time, or enter `-1` to set the default to unlimited.
|
||||
1. For **Default storage consumption**, enter the maximum quantity of storage that any project can consume, selecting `MB`, `GB`, or `TB` from the drop-down menu, or enter `-1` to set the default to unlimited.
|
||||
![Project quotas](../../img/project-quota3.png)
|
||||
![Project quotas](../img/project-quota3.png)
|
||||
|
||||
1. Click **OK**.
|
||||
1. To set quotas on an individual project, click the 3 vertical dots next to a project and select **Edit**.
|
||||
![Project quotas](../../img/project-quota4.png)
|
||||
![Project quotas](../img/project-quota4.png)
|
||||
1. For **Default artifact count**, enter the maximum number of tags that this individual project can contain, or enter `-1` to set the default to unlimited.
|
||||
1. For **Default storage consumption**, enter the maximum quantity of storage that this individual project can consume, selecting `MB`, `GB`, or `TB` from the drop-down menu.
|
||||
|
||||
After you set quotas, you can see how much of their quotas each project has consumed.
|
||||
|
||||
![Project quotas](../../img/project-quota5.png)
|
||||
![Project quotas](../img/project-quota5.png)
|
||||
|
||||
### How Harbor Calculates Resource Usage
|
||||
|
||||
|
@ -11,7 +11,7 @@ When you delete images from Harbor, space is not automatically freed up. You mus
|
||||
1. Expand **Administration**, and select **Garbage Collection**.
|
||||
1. Select the **'Garbage Collection'** tab.
|
||||
|
||||
![Garbage collection](../../img/garbage-collection.png)
|
||||
![Garbage collection](../img/garbage-collection.png)
|
||||
|
||||
1. To run garbage collection immediately, click **GC Now**.
|
||||
|
||||
@ -25,7 +25,7 @@ To avoid triggering the garbage collection process too frequently, the availabil
|
||||
1. Select the **'Garbage Collection'** tab.
|
||||
1. Use the drop down-menu to select how often to run garbage collection.
|
||||
|
||||
![Schedule garbage collection](../../img/gc-policy.png)
|
||||
![Schedule garbage collection](../img/gc-policy.png)
|
||||
|
||||
* **None**: No garbage collection is scheduled.
|
||||
* **Hourly**: Run garbage collection at the beginning of every hour.
|
||||
@ -35,6 +35,6 @@ To avoid triggering the garbage collection process too frequently, the availabil
|
||||
1. Click **Save**.
|
||||
1. Select the **History** tab to view records of the 10 most recent garbage collection runs.
|
||||
|
||||
![Garbage collection history](../../img/gc-history.png)
|
||||
![Garbage collection history](../img/gc-history.png)
|
||||
|
||||
1. Click on the **Logs** link to view the related logs.
|
||||
|
@ -9,17 +9,17 @@ You can configure Harbor to connect to an email server, set the registry in read
|
||||
|
||||
You can configure Harbor to connect to an email server. The email server is only used to send out responses to users who request to reset their password.
|
||||
|
||||
![browse project](../../img/new-config-email.png)
|
||||
![browse project](../img/new-config-email.png)
|
||||
|
||||
## 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.
|
||||
|
||||
![Read-only mode](../../img/read-only.png)
|
||||
![Read-only mode](../img/read-only.png)
|
||||
|
||||
If it set to true, deleting repositories, tags and pushing images are not permitted.
|
||||
|
||||
![browse project](../../img/read-only-enable.png)
|
||||
![browse project](../img/read-only-enable.png)
|
||||
|
||||
```sh
|
||||
docker push 10.117.169.182/demo/ubuntu:14.04
|
||||
@ -32,4 +32,4 @@ denied: The system is in read only mode. Any modification is prohibited.
|
||||
|
||||
Use the **Project Creation** drop-down menu to set which users can create projects. Select **Everyone** to allow all users to create projects. Select **Admin Only** to allow only users with the Harbor system administrator role to create projects.
|
||||
|
||||
![browse project](../../img/new-proj-create.png)
|
||||
![browse project](../img/new-proj-create.png)
|
||||
|
Loading…
Reference in New Issue
Block a user