All Projects → janosdebugs → demo-container-runtime

janosdebugs / demo-container-runtime

Licence: other
Simple demonstration codebase for how containers work

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
shell
77523 projects

Projects that are alternatives of or similar to demo-container-runtime

Lxc Web Panel
LXC Web Panel improved for lxc 1.0+
Stars: ✭ 223 (+502.7%)
Mutual labels:  lxc
icp-ce-on-linux-containers
Multi node IBM Cloud Private Community Edition 3.2.x w/ Kubernetes 1.13.5 in a Box. Terraform, Packer and BASH based Infrastructure as Code script sets up a multi node LXD cluster, installs ICP-CE and clis on a metal or VM Ubuntu 18.04 host.
Stars: ✭ 52 (+40.54%)
Mutual labels:  lxc
DockerAndKubernetes
Docker and Kubernetes cheat sheets and examples for familiarization. Also contains some documentation on LXC.
Stars: ✭ 31 (-16.22%)
Mutual labels:  lxc
Proxmox
Proxmox Helper Scripts
Stars: ✭ 3,882 (+10391.89%)
Mutual labels:  lxc
awesome-lxc-lxd
A curated list of awesome LXC and LXD tools, libraries and related projects.
Stars: ✭ 34 (-8.11%)
Mutual labels:  lxc
saltstack-lxc-vagrant
Vagrantfile for setting up a SaltStack test/dev environment.
Stars: ✭ 13 (-64.86%)
Mutual labels:  lxc
Node Libvirt
libvirt bindings for google v8 javascript engine (nodejs addon)
Stars: ✭ 162 (+337.84%)
Mutual labels:  lxc
ansible virtualization
Ansible Collection: Virtualization roles
Stars: ✭ 31 (-16.22%)
Mutual labels:  lxc
cv4pve-api-php
Proxmox VE Client API for PHP
Stars: ✭ 45 (+21.62%)
Mutual labels:  lxc
softwarecontainer
Framework to manage and contain applications in an automotive setting
Stars: ✭ 19 (-48.65%)
Mutual labels:  lxc
check lxc
Monitoring plugin to check LXC (Linux Container)
Stars: ✭ 13 (-64.86%)
Mutual labels:  lxc
vps host server
VPS Hosting Server Daemon for provisioning, monitoring, and communications with the central system.
Stars: ✭ 12 (-67.57%)
Mutual labels:  lxc
opensvc
The OpenSVC node agent
Stars: ✭ 27 (-27.03%)
Mutual labels:  lxc
copr-lxc4
RPM spec files for building lxc/lxd 4.x releases on Fedora COPR
Stars: ✭ 18 (-51.35%)
Mutual labels:  lxc
ProxmoxVE PHP API
ProxmoxVE PHP API
Stars: ✭ 78 (+110.81%)
Mutual labels:  lxc
Distrobuilder
System container image builder for LXC and LXD
Stars: ✭ 211 (+470.27%)
Mutual labels:  lxc
emrah-buster-templates
The templates of the emrah-buster installer.
Stars: ✭ 57 (+54.05%)
Mutual labels:  lxc
bakery
Simple tool to backup and restore ChromeOS Crostini containers
Stars: ✭ 18 (-51.35%)
Mutual labels:  lxc
harbour-containers
A Linux containers manager for SailfishOS
Stars: ✭ 30 (-18.92%)
Mutual labels:  lxc
edi-raspbian
edi configuration for emulated raspbian and raspbian cross compilation.
Stars: ✭ 16 (-56.76%)
Mutual labels:  lxc

Abstract

This is a demo container runtime to showcase how various Linux features, like namespaces, are used to create containers.

Warning #1

THIS CODE IS INTENDED FOR DEMONSTRATION PURPOSES ONLY AND IS NOT SUITABLE FOR A PRODUCTION ENVIRONMENT!

Warning #2

YOU SHOULD PROBABLY NOT RUN THIS ON YOUR LAPTOP! Parts of this codebase mess with mount points, etc and could destroy your files. Or eat your cat. And maybe burn down your house. You have been warned.

Contents

Compiling

If you want to compile this demo, you need at least cmake 3.5 and the libseccomp header files. Compilation can be done with cmake:

cmake .
make

This will generate a number of binaries:

  • demo/namespaces/mount/demo_namespaces_mount
  • demo/namespaces/net/demo_namespaces_net
  • demo/namespaces/pid/demo_namespaces_pid
  • demo/namespaces/uts/demo_namespaces_uts
  • demo/seccomp/demo_seccomp
  • runtime/demo_runtime

Each of these is documented in the readme of their respective folder.

Further reading

The operational theory of this runtime is explained in detail on my blog.

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].