snippetbashTip
crane export — Export filesystem of a container image as a tarball. More information: <https://github.com/google/go
Viewed 0 times
tarballcommandcrane exportcliexportimagefilesystemcontainer
Problem
How to use the
crane export command: Export filesystem of a container image as a tarball. More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_export.md>.Solution
crane export — Export filesystem of a container image as a tarball. More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_export.md>.Write tarball to
stdout:crane export {{image_name}} -Write tarball to file:
crane export {{image_name}} {{path/to/tarball}}Read image from
stdin:crane export - {{path/to/file}}Code Snippets
Write tarball to `stdout`
crane export {{image_name}} -Write tarball to file
crane export {{image_name}} {{path/to/tarball}}Read image from `stdin`
crane export - {{path/to/file}}Context
tldr-pages: common/crane export
Revisions (0)
No revisions yet.