nydus
nydus copied to clipboard
RFE: enhance nydus-image/nydusify check to do full filesystem check
Currently "nydus-image check" sub-command only checks if the converted image is in valid rafs format, and doesn't do full filesystem integrity check.
We'd better to enhance nydus-image check to do full filesystem integrity check without mounting rafs.
-
nydusify checkneed to checkdev, rdev, symlink, project id, uid, gid, nlink, ctimebetween source image and nydus image. - currently
nydusify checkonly checks filesystem data (chunks) if the user provides--backend-type registryand--backend-config ..., we need to remove this limitation (e.g. automatically read registry auth from docker config). - currently
nydusify checkrequires docker to be installed (for pulling source image and mounting all layers by overlayfs), we need to remove this limitation, and pull, unpack and mount image layer by nydusify self. -
nydusify checkprovides--source-type directoryor--source-type taroption to support code package filesystem consistency check.
Finished in #543