snippetbashTip
crane version — Print the version of a binary. The version string is completely dependent on how the binary was buil
Viewed 0 times
thecommandcrane versioncliprintbinaryversion
Problem
How to use the
crane version command: Print the version of a binary. The version string is completely dependent on how the binary was built, so you should not depend on the version format. It may change without notice. More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_version.md>.Solution
crane version — Print the version of a binary. The version string is completely dependent on how the binary was built, so you should not depend on the version format. It may change without notice. More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_version.md>.Display version:
crane versionDisplay help:
crane version {{[-h|--help]}}Code Snippets
Display version
crane versionDisplay help
crane version {{[-h|--help]}}Context
tldr-pages: common/crane version
Revisions (0)
No revisions yet.