umoci-gc1
Garbage collects all unreferenced oci image blobs
Usage
umoci gc --layout=image
Aleksa Sarai DECEMBER 2016
Overview
Conduct a mark-and-sweep garbage collection of the provided OCI image, only retaining blobs which can be reached by a descriptor path from the root set of tags. All other blobs will be removed.
Options
The global options are defined in umoci(1).
--layout=image
The OCI image layout to be garbage collected. image must be a path to a
valid OCI image.
Examples
The following deletes a tag from an OCI image and clean conducts a garbage collection in order to clean up the remaining unused blobs.
% umoci rm --image image:sometag % umoci gc --layout image
Releases
5 releases since Debian 10 (Buster); the text changed 4 times.