image-tool

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

Image tool

Tool for handling OCI images that implements functionality missing from docker, crane and ko.

Usage

  • convert-from-oci-tar oci-tarball oci-layout-path - Reads the OCI layout tarball (=docker build output) and outputs an OCI layout directory (=ko output, crane and image-tool input)
  • append-layers oci-layout-path [path-to-tarball...] - Appends a tarball or directory to every image in an OCI index
  • convert-to-docker-tar oci-layout-path docker-tarball image-name - Reads the OCI layout directory and outputs a tarball that is compatible with "docker load"
  • list-digests oci-layout-path - Outputs the digests for images found in the OCI layout directory
  • reset-labels-and-annotations oci-layout-path - Removes all labels and annotations from OCI indices, images and descriptors in a OCI layout directory
  • tag-docker-tar docker-tarball image-name - Replaces the image name in the docker tarball (image name should include a tag)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL