https://github.com/cert-manager/image-tool
image-tool is an internal cert-manager utility (can be broken or removed) which can manipulate OCI images
https://github.com/cert-manager/image-tool
Last synced: 5 months ago
JSON representation
image-tool is an internal cert-manager utility (can be broken or removed) which can manipulate OCI images
- Host: GitHub
- URL: https://github.com/cert-manager/image-tool
- Owner: cert-manager
- License: apache-2.0
- Created: 2025-04-11T16:17:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-19T07:31:37.000Z (12 months ago)
- Last Synced: 2025-06-27T00:28:53.224Z (12 months ago)
- Language: Makefile
- Size: 82 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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)