Simple command line tool for fetching the Open Container Initiative image format over various transports.
$ go get github.com/containers/oci-fetch/oci-fetch
$ oci-fetch --help
oci-fetch will fetch an OCI image and store it on the local filesystem in a
.tar.gz file
Usage:
oci-fetch docker://HOST/IMAGENAME[:TAG] FILEPATH [flags]
Examples:
oci-fetch docker://registry-1.docker.io/library/nginx:latest nginx.oci
Flags:
--debug print out debugging information to stderr
-h, --help help for oci-fetch
--insecure-allow-http don't enforce encryption when fetching images
--insecure-skip-tls-verification don't perform TLS certificate verification
oci-fetch can currently fetch OCI images from a Docker v2 registry API.
In the future we want to support additional transports such as:
- file transport based on the OCI Image Layout
- http transport based on the OCI Image Layout but for HTTP paths
- ftp transport based on the OCI Image Layout
- Bittorrent transport based on gzipped tarball of OCI Image Layout
- Mailing list: containers-dev
- IRC: #container-projects on freenode.net