Utilities for working with Docker/OCI images.
- Rust 96.1%
- Nix 1.8%
- Dockerfile 1.7%
- HCL 0.4%
| .forgejo/workflows | ||
| ocicp | ||
| ocidrm | ||
| shared | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| docker-bake.hcl | ||
| flake.lock | ||
| flake.nix | ||
| ocicp.Dockerfile | ||
| readme.md | ||
OCICP
Small utility for directly copying contents out of images.
Usage
# Copy from local image
ocicp 'docker:some-image:/out/{bin,lib}/**/*' ./out
# ... with tag
ocicp 'docker:some-image:alpine:/out/{bin,lib}/**/*' ./out
# Copy from remote registry using stored credentials
ocicp 'docker+https://some-registry.com/some-image:latest:/out/{bin,lib}/**/*' ./out
# ... or provide a username and password directly
ocicp 'docker+https://username:password@some-registry.com/some-image:latest:/out/{bin,lib}/**/*' ./out