.nh .SH containers-storage-check 1 "September 2022" .SH NAME .PP containers-storage check - Check for and remove damaged layers/images/containers .SH SYNOPSIS .PP \fBcontainers-storage\fP \fBcheck\fP [-q] [-r [-f]] .SH DESCRIPTION .PP Checks layers, images, and containers for identifiable damage. .SH OPTIONS .PP \fB-f\fP .PP When repairing damage, also remove damaged containers. No effect unless \fI-r\fP is used. .PP \fB-r\fP .PP Attempt to repair damage by removing damaged images and layers. If not specified, damage is reported but not acted upon. .PP \fB-q\fP .PP Perform only checks which are not expected to be time-consuming. This currently skips verifying that a layer which was initialized using a diff can reproduce that diff if asked to. .SH EXAMPLE .PP **containers-storage check -r -f .SH SEE ALSO .PP containers-storage(1)