mirror of https://github.com/docker/docs.git
Remove upgrade instructions and add updated screenshot
This commit is contained in:
parent
42c1e25993
commit
1c754e1a18
|
|
@ -2,6 +2,7 @@
|
||||||
title: Online Garbage collection
|
title: Online Garbage collection
|
||||||
description: Save disk space by configuring the garbage collection settings in
|
description: Save disk space by configuring the garbage collection settings in
|
||||||
Docker Trusted Registry
|
Docker Trusted Registry
|
||||||
|
redirect_from: /ee/dtr/admin/configure/garbage-collection/
|
||||||
keywords: registry, online garbage collection, gc, space, disk space
|
keywords: registry, online garbage collection, gc, space, disk space
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -21,24 +22,14 @@ the scheduled time DTR:
|
||||||
2. Identifies and marks unused image layers.
|
2. Identifies and marks unused image layers.
|
||||||
3. Deletes the marked image layers.
|
3. Deletes the marked image layers.
|
||||||
|
|
||||||
As of v2.6.0, online garbage collection is no longer in experimental mode. The registry no longer has to be in read-only mode (or offline) during garbage collection.
|
As of v2.6.0, online garbage collection is no longer in experimental mode. This means that the registry no longer has to be in read-only mode (or offline) during garbage collection.
|
||||||
|
|
||||||
To enable garbage collection, navigate to the **DTR web UI**, go to **Settings** and
|
|
||||||
choose **Garbage collection**.
|
|
||||||
|
|
||||||
{: .with-border}
|
|
||||||
|
|
||||||
Once enabled this setting can't be changed back. The upgrade process might
|
|
||||||
take a while depending on the amount of Docker images that you have stored.
|
|
||||||
|
|
||||||
During this upgrade users can still push and pull images from DTR, but
|
|
||||||
the garbage collection job will be temporarily disabled.
|
|
||||||
|
|
||||||
## Schedule garbage collection
|
## Schedule garbage collection
|
||||||
|
|
||||||
Navigate to the **Settings** page, and choose **Garbage collection**.
|
In your browser, navigate to `https://<dtr-url>` and log in to the DTR web UI with your credentials. Select **System** on the left navigation pane then click
|
||||||
|
the **Garbage collection** tab to enable garbage collection.
|
||||||
|
|
||||||
{: .with-border}
|
{: .with-border}
|
||||||
|
|
||||||
Select for how long the garbage collection job should run:
|
Select for how long the garbage collection job should run:
|
||||||
* Until done: Run the job until all unused image layers are deleted.
|
* Until done: Run the job until all unused image layers are deleted.
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 291 KiB After Width: | Height: | Size: 41 KiB |
Loading…
Reference in New Issue