Code Monkey home page Code Monkey logo

cartorio's Introduction

cartório

Serve your container images from a read-only registry.

cartorio allows you to serve content from your local filesystem through the Docker HTTP V2 Registry API.

It currently supports the following filesystem formats:


Table of Contents

Usage

The usage of cartorio requires only two steps:

  1. loading one or more container image(s) from a directory or tarball, then
  2. serving those container images to those implementing the Docker Registry HTTP API v2.

Docker

# save one (or more container images) from a docker 
# daemon to a tarball
docker save one-image another-image > image.tar


# load the image into a format that `cartorio` understands
# and is able to use to serve the contents
cartorio load --tarball=./image.tar


# serve the images
cartorio serve


# pull the image from cartorio
docker pull $MACHINE_IP:5000/one-image
docker pull $MACHINE_IP:5000/another-image

Kubernetes

Being cartorio a tool that can serve any amount of container images, the use of cartorio with Kubernetes can fit multiple purposes, more interestingly:

  • providing the necessary infratructure images for bootstrapping an airgapped Kubernetes cluster, and
  • in a single container, distribute images that can't be retrieved fr

Scope

cartorio's scope is limited only to:

  • loading images into its blobstore for serving, and
  • serving container images that have been preloaded.

LICENSE

Apache License 2.0 - see LICENSE.

cartorio's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cartorio's Issues

Make layer digest computation concurrent

Right now we're performing all of the digest computation serially.

With something like # 3, we'll be spending even more time in such step. Doing so concurrently can speed up the process.

pull images from registry

Hey,

Aside from loading images, we could provide ways for the user to consume images that have already been pushed to other registries.

cartorio pull --name library/nginx --tag alpine --blobstore /tmp/blabla

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.