Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yandex/porto

Yet another Linux container management system
https://github.com/yandex/porto

Last synced: about 1 month ago
JSON representation

Yet another Linux container management system

Awesome Lists containing this project

README

        

Porto
=====

[![Build Status](https://travis-ci.org/yandex/porto.svg?branch=master)](https://travis-ci.org/yandex/porto)

# OVERVIEW #

Porto is a yet another Linux container management system, developed by Yandex.

The main goal is providing single entry point for several Linux subsystems
such as cgroups, namespaces, mounts, networking, etc.
Porto is intended to be a base for large infrastructure projects.

## Key Features
* **Nested containers** - containers could be put into containers
* **Nested virtualizaion** - containers could use porto service too
* **Flexible configuration** - all container parameters are optional
* **Reliable service** - porto upgrades without restarting containers

Container management software build on top of porto could be transparently
enclosed inside porto container.

Porto provides a protobuf interface via an unix socket /run/portod.socket.

Command line tool **portoctl** and C++, Python and Go APIs are included.

Porto requires Linux kernel 3.18 and optionally some offstream patches.

# BUILDING #

```
$ dpkg-buildpackage -b
$ sudo dpkg -i ../yandex-porto_*.deb
```
or
```
$ sudo apt-get install g++ cmake protobuf-compiler libprotobuf-dev libnl-3-dev libnl-route-3-dev libnl-idiag-3-dev libncurses5-dev pandoc
$ cmake .
$ make
$ make install DESTDIR=/usr/local
```

# RUNNING #

```
$ sudo groupadd porto
$ sudo sudo adduser $USER porto
$ sudo portod start
$ portoctl exec hello command='echo "Hello, world!"'
```

# DOCUMENTATION #
* [Porto manpage](porto.md)