mirror of
https://github.com/containers/podman.git
synced 2026-09-17 08:11:40 -04:00
podman system check --quick currently only skips layer contents, but practically it's not much quicker than without the flag. This changes the flag to also skip checking layer digests which speed up the check significantly. In some cases, it is useful to opt for a quicker check if we prioritize detecting and fixing severe corruption and can tolerate minor damage. The check option is derived from CRI-O's internal repair: https://github.com/cri-o/cri-o/blob/9e4d86d82370ad44c14649f28ebdd8f94aaa28ca/internal/lib/container_server.go#L860 Signed-off-by: Sonny Sasaka <sonnysasaka@gmail.com>