Skip to main content

Portable reproducible environments for Linux applications

Project description

rootbox

PyPi License Code style: black

What is rootbox?

Rootbox is a tool for Linux and WSL that allows regular (unprivileged) users to deploy applications in a portable and reproducible way.

Rootbox in action

How does it work

Rootbox uses Linux kernel namespaces to create contained environments.

What is the difference between rootbox and Docker?

The focus of rootbox is to provide a tool that can be used to run applications without the need to install dependencies on the host system. Rootbox does NOT aim to provide full isolation between environemtns and the host, for such use cases please consider using Docker or Podman.

What is nedded to run rootbox?

  • A Linux distrubtion or Linux on Windows with WSL (Kernel version >=4.18)
  • Python 3.8, 3.9, 3.10 or 3.11
  • Only 64-bit architectures are supported

What applications can I run with rootbox?

  • images from the Linux Containers project (LXC).
  • images from the Docker Hub registry (Docker Hub)

Supported package managers

Status Tool Distros
apk Alpine
pacman ArchLinux
dnf Alma; CentOS; Fedora; Rocky
xbps VoidLinux
zypper openSUSE
apt Debian/Ubuntu

How to install

pip install rootbox

How to use

List all the distributions available from the LXC project

# Check the list of supported distro names in the table above
rootbox lxc list

Run an in-memory single run container

Run a shell in an Alpine Linux container

rootbox run lxc:alpine:3.17

Check the apk version:

rootbox run lxc:alpine:3.17 "apk --version"

Create an in-memory multi run container

rootbox create lxc:alpine:3.17

Execute a command in a container

rootbox execute lxc:alpine:3.17 "apk --version"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rootbox-0.0.9.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rootbox-0.0.9-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file rootbox-0.0.9.tar.gz.

File metadata

  • Download URL: rootbox-0.0.9.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for rootbox-0.0.9.tar.gz
Algorithm Hash digest
SHA256 33b96370693a2d4ec9e621d9aef1427ad37dc9cddfd88de91c0f7025f2a424fc
MD5 0c53242a165ca51c1bebf5d9b5632636
BLAKE2b-256 286b93e91460f93ae6ca8574487a0dfc47cdca5bd4b56502104dcb0b4c631cc6

See more details on using hashes here.

File details

Details for the file rootbox-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: rootbox-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for rootbox-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f8aa730ac01d2b0527a138f7b1f86454211f669d7f4cf6f0ffd36a618fc53eb6
MD5 5f56958dfabfe735d07f94c2577f367d
BLAKE2b-256 b1fa6fa28538240ef53d568639d7733bc2b9279aaf4ea9cdb89afccb9101a107

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page