crane
CLI tool for interacting with remote images and registries
Useful tips and things you can do with crane and other standard tools. List files in an image crane export registry.opensuse.org/opensuse/tumbleweed - | tar -tvf - | less Export a file from an image crane export registry.opensuse.org/opensuse/tumbleweed - | tar -0xf - etc/passwd Diff two configs diff -u<(crane config busybox:1.32 | jq)<(crane config busybox:1.33 | jq) Diff two manifests diff -u<(crane manifest busybox:1.32 | jq)<(crane manifest busybox:1.33 | jq) Diff filesystem contents diff -u \<(crane export gcr.io/kaniko-project/executor:v1.6.0-debug - | tar -tvf - | sort) \<(crane export gcr.io/kaniko-project/executor:v1.7.0-debug - | tar -tvf - | sort)
Apache-2.0