Yet another Linux container management system
C++ Python Go CMake Shell C Makefile
koct9i portoctl/storage: fix list for custom place
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Latest commit 3a675c0 Jul 24, 2018

README.md

Porto

Build Status

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 cmake protobuf-compiler libprotobuf-dev libnl-3-dev libnl-route-3-dev libncurses5-dev
$ 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