Giter VIP home page Giter VIP logo

oci-fetch's Introduction

oci-fetch

Simple command line tool for fetching the Open Container Initiative image format over various transports.

Usage

$ 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

Current Status

oci-fetch can currently fetch OCI images from a Docker v2 registry API.

Future Roadmap

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

Contact

  • Mailing list: containers-dev
  • IRC: #container-projects on freenode.net

oci-fetch's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oci-fetch's Issues

Cannot fetch Docker images

Running the example from README:

$ oci-fetch docker://registry-1.docker.io/library/alpine:latest alpine
incorrect mediaType

Tool status

/cc @philips @sgotti @dgonyeo @mrunalp @rhatdan

Hey, following my discussion at #2, I'd like to understand if and how this tool is needed. Right now, what this tool can do is already present in both containers/image and projectatomic/skopeo and I found myself reviewing #2 when skopeo and image already had that functionality.
This seems a waste of effort to me. Can we concentrate ourselves in skopeo and containers? skopeo already does what oci-fetch does with skopeo copy docker://fedora oci:fedora-oci-image-layout also. And more important this tool is duplicating the effort in containers/image because there it lives the library to interact with registries and containers' images.

archive?

there is not any activity on this project, should it be archived to make it clear?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.