mirror of https://github.com/docker/docs.git
Merge pull request #731 from docker/mb-docs-improvements
- Formatting changes to online garbage collection - Copy edit on tag pruning based on engineering feedback
This commit is contained in:
commit
54a320be52
|
@ -31,7 +31,7 @@ during garbage collection.
|
|||
In your browser, navigate to `https://<dtr-url>` and log in with your credentials. Select **System** on the left navigation pane, and then click
|
||||
the **Garbage collection** tab to schedule garbage collection.
|
||||
|
||||
{: .with-border}
|
||||
{: .img-fluid .with-border}
|
||||
|
||||
Select for how long the garbage collection job should run:
|
||||
* Until done: Run the job until all unused image layers are deleted.
|
||||
|
@ -39,7 +39,7 @@ Select for how long the garbage collection job should run:
|
|||
at a time.
|
||||
* Never: Never delete unused image layers.
|
||||
|
||||
If you select *Until done* or *For x minutes*, you can specify a recurring schedule in UTC (Coordinated Universal Time) with the following options:
|
||||
If you select ***Until done*** or ***For x minutes***, you can specify a recurring schedule in UTC (Coordinated Universal Time) with the following options:
|
||||
* Custom cron schedule - (Hour, Day of Month, Month, Weekday)
|
||||
* Daily at midnight UTC
|
||||
* Every Saturday at 1am UTC
|
||||
|
|
|
@ -47,7 +47,12 @@ DTR allows you to set your pruning triggers based on the following image attribu
|
|||
| License | Whether the image uses an intellectual property license and is one of or not one of your specified words | License name = `docker` |
|
||||
| Last updated at | Whether the last image update was before your specified number of hours, days, weeks, or months. For details on valid time units, see [Go's ParseDuration function](https://golang.org/pkg/time/#ParseDuration). | Last updated at: Hours = `12` |
|
||||
|
||||
Specify one or more image attributes to add to your pruning criteria, then choose **Prune future tags** to apply your selection to future tags or **Prune all tags** to evaluate existing tags on your repository. Upon selection, you will see a confirmation message and will be redirected to your newly updated **Pruning** tab.
|
||||
Specify one or more image attributes to add to your pruning criteria, then choose:
|
||||
|
||||
- **Prune future tags** to save the policy and apply your selection to future tags. Only matching tags after the policy addition will be pruned during garbage collection.
|
||||
- **Prune all tags** to save the policy, and evaluate both existing and future tags on your repository.
|
||||
|
||||
Upon selection, you will see a confirmation message and will be redirected to your newly updated **Pruning** tab.
|
||||
|
||||
{: .with-border}
|
||||
|
||||
|
|
Loading…
Reference in New Issue