Git Product home page Git Product logo

portus's Introduction

Portus

Portus is an authorization server and a user interface for the next generation of the Docker registry. Portus targets version 2 of the Docker Registry API. The minimum required version of Registry is 2.1, which is the first version supporting soft deletes of blobs.

master v2.2 v2.3 (in development) Code Climate
Build Status Build Status Build Status Code Climate Test Coverage

Features

Fine-grained control of permissions

Portus supports the concept of users and teams. Users have their own personal Docker namespace where they have both read (aka docker pull) and write (aka docker push) access. A team is a group of users that have read and write access to a certain namespace. You can read more about this in our documentation page about it.

Portus implements the token based authentication system described by the new version of the Docker registry. This can be used to have full control over the images served by an instance of the Docker registry.

Web interface for Docker registry

Portus provides quick access to all the images available on your private instance of Docker registry. User's privileges are taken into account to make sure private images (the ones requiring special rights also for docker pull) are not shown to unauthorized personnel.

Self-hosted

Portus allows you to host everything on your servers, on your own infrastructure. You don't have to trust a third-party service, just own everything yourself. Take a look at our documentation to read the different setups in which you can deploy Portus.

And more!

Some highlights:

Take a tour by our documentation site to read more about this.

Deploying

Containerized

In the examples directory you can find different containerized deployment examples. All these examples are using the opensuse/portus image, which can be found on Docker Hub, and they are defined in opensuse/docker-containers. We have the following tags:

  • head: Portus' master branch packaged and curated as if it was production-ready. This is convenient for people that want to be on the bleeding edge and want to test the latest features.
  • latest: the latest stable release.
  • Version-specific tags (e.g. 2.3). We recommend using these tags for production clusters.

Moreover, there is also available a Helm Chart that you can use for Kubernetes' clusters.

Bare metal

Portus is a Ruby on Rails application and as such you can follow the usual steps to deploy such an application. If you need inspiration you may want to read an example with NGinx and Puma.

Development

If you simply want to explore Portus and play with it, using the development environment might be a good fit. A quick way to start a development version of Portus is to perform the following:

$ docker-compose up

For more information on development environments, check our wiki. Otherwise, feel free to explore the examples directory for a variety of ways in which you can deploy Portus.

Supported versions

Docker technologies have a fast iteration pace. This is a good thing, but it comes with some challenges. As requested by some of our users, the following table shows which versions of Docker and Docker Distribution are supported by each Portus version:

Portus Docker Engine Docker Distribution
master 1.6+ 2.0+
2.1.x & 2.2.x 1.6+ 2.0+
2.0.0 & 2.0.1 1.6 to 1.9 2.0 to 2.2
2.0.2 1.6 to 1.9 2.0 to 2.4
2.0.3+ 1.6+ 2.0 to 2.4

Let's detail some of the version being specified:

  • Docker Engine 1.6 is the first version supported by Docker Distribution 2. Therefore, this requirement is also the same for Portus.
  • As of Docker 1.10, the Manifest Version 2, Schema 2 is the one being used. This is only supported by Portus in the master branch and in 2.0.3.
  • Docker Distribution 2.3 supports both Manifest versions, but some changes had to be made in order to offer backwards compatibility. This is not supported neither for Portus 2.0.0 nor 2.0.1.

Contributing

First of all, make sure that you have a working development environment. You can easily do this with either Docker or Vagrant, as it's explained on the wiki. The wiki also has notable pages like How we test Portus.

Also, make sure to understand our contribution guidelines, as explained in this document.

Happy hacking!

Overview

In this video you can get an overview of some of the features and capabilities of Portus.

preview

Licensing

Portus is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

portus's People

Contributors

mssola avatar flavio avatar jordimassaguerpla avatar cyntss avatar vitoravelino avatar lsamayoa avatar monstermunchkin avatar kalabiyau avatar salzig avatar maximilianmeister avatar msfernandes avatar geoaxis avatar lonewulf avatar vad1mo avatar databus23 avatar soedar avatar cyphar avatar eotchi avatar nickhu avatar depay avatar farmerworking avatar coder-hugo avatar rds13 avatar saurabhsurana avatar saurabhsurana-zz avatar arcticsnowman avatar tboerger avatar curx avatar vpereira avatar zisisli avatar

Watchers

James Cloos avatar

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.