All Projects → SUSE → Portus

SUSE / Portus

Licence: apache-2.0
Authorization service and frontend for Docker registry (v2)

Programming Languages

ruby
36898 projects - #4 most used programming language
Vue
7211 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
CSS
56736 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Portus

Manageiq
ManageIQ Open-Source Management Platform
Stars: ✭ 1,089 (-62.19%)
Mutual labels:  rails, containers
Blockchain Network On Kubernetes
Demonstrates the steps involved in setting up your business network on Hyperledger Fabric using Kubernetes APIs on IBM Cloud Kubernetes Service.
Stars: ✭ 261 (-90.94%)
Mutual labels:  containers
Oj
Optimized JSON
Stars: ✭ 2,824 (-1.94%)
Mutual labels:  rails
Crystalball
Regression Test Selection library for your RSpec test suite
Stars: ✭ 259 (-91.01%)
Mutual labels:  rails
Starburst
In-app announcements to users in your Rails app
Stars: ✭ 254 (-91.18%)
Mutual labels:  rails
Simpleator
Simpleator ("Simple-ator") is an innovative Windows-centric x64 user-mode application emulator that leverages several new features that were added in Windows 10 Spring Update (1803), also called "Redstone 4", with additional improvements that were made in Windows 10 October Update (1809), aka "Redstone 5".
Stars: ✭ 260 (-90.97%)
Mutual labels:  containers
Vueonrails
💎 Rails gem with the power of Vue.js components
Stars: ✭ 250 (-91.32%)
Mutual labels:  rails
Feedbin
A nice place to read on the web.
Stars: ✭ 2,910 (+1.04%)
Mutual labels:  rails
Putsreq
PutsReq lets you record HTTP requests and fake responses like no other tool available
Stars: ✭ 262 (-90.9%)
Mutual labels:  rails
Eliot
Open source system for managing containerized applications in IoT device
Stars: ✭ 258 (-91.04%)
Mutual labels:  containers
Service Fabric
We've moved!
Stars: ✭ 258 (-91.04%)
Mutual labels:  containers
Query track
Find time-consuming database queries for ActiveRecord-based Rails Apps
Stars: ✭ 258 (-91.04%)
Mutual labels:  rails
Hpc Container Maker
HPC Container Maker
Stars: ✭ 260 (-90.97%)
Mutual labels:  containers
Kubernetes Java Sample
Kubernetes Hands-on Workshop
Stars: ✭ 254 (-91.18%)
Mutual labels:  containers
Dockly
Immersive terminal interface for managing docker containers and services
Stars: ✭ 3,034 (+5.35%)
Mutual labels:  containers
Demo.activeadmin.info
A store application to use in tutorials for Active Admin
Stars: ✭ 253 (-91.22%)
Mutual labels:  rails
Netshoot
a Docker + Kubernetes network trouble-shooting swiss-army container
Stars: ✭ 3,709 (+28.78%)
Mutual labels:  containers
Tomo
A friendly CLI for deploying Rails apps ✨
Stars: ✭ 260 (-90.97%)
Mutual labels:  rails
Public activity
Easy activity tracking for models - similar to Github's Public Activity
Stars: ✭ 2,822 (-2.01%)
Mutual labels:  rails
Dotfiles
Installing
Stars: ✭ 2,948 (+2.36%)
Mutual labels:  containers

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.4 Code Climate
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.

Contributing

There are multiple ways of setting up a development environment. We recommend using docker-compose, so you only need to perform:

$ docker-compose up

You can read more about this environment here.

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

Testing

Unit tests

Unit tests are located in the spec directory. To run them, simply:

$ bundle exec rspec spec

Make sure to install phantomjs from your Linux distribution before running unit tests, since feature tests rely on PhantomJS being installed. All the other ruby dependencies are already covered by our Gemfile.

We also have tests in the frontend. For this, you have to install yarn from your Linux distribution and run:

$ yarn test

Integration tests

Check this document in order to better understand how integration tests work. For development, though, if you have already installed Docker, docker-composer and bats, running the following should just work:

$ chmod +x bin/test-integration.sh
$ ./bin/test-integration.sh

Other checks

A common pitfall for developers is to forget about code style. For that, make sure to run rubocop:

$ bundle exec rubocop -a

Note that the command above includes the -a flag. This flag will automatically fix small issues for you. We also run a code style check for the frontend code:

$ yarn eslint

We also run brakeman in order to detect security vulnerabilities:

$ bundle exec brakeman

Last but not least, make sure that your git commit follows a proper style. To ensure this, you can run the following task:

$ bundle exec rake test:git

Continuous Integration

We use Travis CI for continuous integration. You can run what we run in Travis locally:

$ chmod +x bin/ci/run.sh
$ ./bin/ci/run.sh

This script simply executes all the tests and checks that we have presented above.

Licensing

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].