GithubHelp home page GithubHelp logo

pulp / crane Goto Github PK

View Code? Open in Web Editor NEW
39.0 17.0 45.0 1.81 MB

:warning: ⛔️ Pulp2 is EOL as of November 30 2022, for more info visit this link https://pulpproject.org/2022/09/19/pulp-2-eol/. ⛔️ docker-registry-like API with redirection, as a wsgi app

License: GNU General Public License v2.0

Python 96.60% HTML 1.80% Shell 0.59% Dockerfile 1.02%

crane's Introduction

warning:⛔️ Pulp2 is EOL as of November 30 2022, for more info visit this link https://pulpproject.org/2022/09/19/pulp-2-eol/. ⛔️

crane

https://travis-ci.org/pulp/crane.svg?branch=master https://coveralls.io/repos/pulp/crane/badge.png?branch=master

What is Crane?

Crane is a small read-only web application that provides enough of the docker registry API to support "docker pull". Crane supports two modes of operation:

  1. Serve 302 redirects to some other location where files are being served. A base file location URL can be specified per-repository. This is the default mode.
  2. Local content delivery. In this mode, Crane provides "X-Sendfile" headers to the Apache web server. Apache will deliver the static files including all its optimizations.

Crane loads its data from json files stored on disk. It does not have a database or use any other services. The json files can be generated with pulp by publishing a docker repository.

Crane is a flask app written in Python. It is very easy to deploy and has a small footprint, so it is a great way to provide a read-only "docker pull" API that redirects to a static file service.

Advanced users can configure a search appliance to support "docker search" and can setup repository protection using SSL certificates.

See the current development documentation for more information.

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.