Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ crane Public archive

⚠️ ⛔️ 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

Notifications You must be signed in to change notification settings

pulp/crane

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

image

image

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.

About

⚠️ ⛔️ 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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages