All Projects → parke → lxroot

parke / lxroot

Licence: GPL-3.0 license
A lightweight, flexible, and safer alternative to chroot and/or Docker.

Programming Languages

C++
36643 projects - #6 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to lxroot

PRoot
chroot, mount --bind, and binfmt_misc without privilege/setup for Linux
Stars: ✭ 31 (-55.07%)
Mutual labels:  chroot, chroot-environment
tiny-skeleton-loader-react
zero dependency, ultra lightweight (1KB gzipped) skeleton loader component for react 🐥
Stars: ✭ 28 (-59.42%)
Mutual labels:  lightweight
got
An enjoyable golang test framework.
Stars: ✭ 234 (+239.13%)
Mutual labels:  lightweight
phaser-super-storage
A cross platform storage plugin for Phaser
Stars: ✭ 49 (-28.99%)
Mutual labels:  namespace
react-functional-select
Micro-sized & micro-optimized select component for React.js
Stars: ✭ 165 (+139.13%)
Mutual labels:  virtualization
PackageProject.cmake
🏛️ Help other developers use your project. A CMake script for packaging C/C++ projects for simple project installation while employing best-practices for maximum compatibility.
Stars: ✭ 48 (-30.43%)
Mutual labels:  namespace
DuckOS
Such OS; Very Duck!
Stars: ✭ 16 (-76.81%)
Mutual labels:  userland
ostrio-analytics
📊 Visitor's analytics tracking code for ostr.io service
Stars: ✭ 14 (-79.71%)
Mutual labels:  lightweight
aurelia-virtual-scroll
Aurelia Virtual Scroller
Stars: ✭ 15 (-78.26%)
Mutual labels:  virtualization
ios-application
A native, lightweight and secure one-time-password (OTP) client built for iOS; Raivo OTP!
Stars: ✭ 581 (+742.03%)
Mutual labels:  lightweight
ModernOperatingSystems AndrewTanenbaum
My notes after reading 'Modern Operating Systems' book by Andrew Tanenbaum and Herbert Bos.
Stars: ✭ 71 (+2.9%)
Mutual labels:  virtualization
neon
Neon is a modern VueJS design library built with Typescript and SASS
Stars: ✭ 19 (-72.46%)
Mutual labels:  lightweight
stackbuilder
Stackbuilder builds stacks of virtual machines
Stars: ✭ 21 (-69.57%)
Mutual labels:  virtualization
builder
Treehouses Awesome 👓 Raspberry Pi Image Builder 🏗
Stars: ✭ 44 (-36.23%)
Mutual labels:  chroot-environment
react-virtual-list
A tiny virtualization list component(gzipped 6KB), supports dynamic height: https://dwqs.github.io/react-virtual-list/
Stars: ✭ 45 (-34.78%)
Mutual labels:  virtualization
ovirt-ansible
Ansible playbooks for ovirt management
Stars: ✭ 26 (-62.32%)
Mutual labels:  virtualization
CIBYL
Lightweight curly-bracket language which compiles to Ruby and Crystal.
Stars: ✭ 45 (-34.78%)
Mutual labels:  lightweight
Tasks
Tasks is an application that optimizes computer performance. Tasks improves overall system performance, boot times, and a safer experience while using your computer.
Stars: ✭ 65 (-5.8%)
Mutual labels:  lightweight
dicomweb-pacs
Easy to use DICOMWEB enabled PACS with DIMSE services based on sqlite database
Stars: ✭ 42 (-39.13%)
Mutual labels:  lightweight
docker-alpine-wkhtmltopdf
wkhtmltopdf alpine docker container with headless qt patches
Stars: ✭ 150 (+117.39%)
Mutual labels:  lightweight

Lxroot - a software virtualization tool

About Lxroot

lxroot is a lightweight and safe alternative to chroot, Docker, and other software virtualization tools.

lxroot allows a non-root user to easily and safely create a "chroot-style" virtual software environment (via Linux namespaces), and then run one or more programs (a "guest userland") inside that environment.

Quickstart tutorial

vland is a convenience wrapper around lxroot. The quickest way to start using lxroot is to use vland. For example:

$  wget  https://github.com/parke/vland/raw/main/vland
$  /bin/sh  vland  --create  arch  arch-guest
$  /bin/sh  vland  --pkg  arch-guest  install  chromium
$  /bin/sh  vland  arch-guest  -nx  --  chromium

The above commands create an Arch Linux guest named arch-guest, and then install and run the Chromium web browser. (The guest will be created inside $HOME/.local/vland.)

vland can also build packages. For example, the below commands will build and install Arch Linux's lua package:

$  /bin/sh  vland  --pkg  arch-guest  build-install  lua
$  /bin/sh  vland  arch-guest  --  lua  -v

lxroot is a small C++ program. vland is a single file Dash shell script. Both run without root access.

Learn more by reading the vland tutorial and the lxroot tutorial.

Videos

Supported guest Linux distributions

The below table summarizes the Linux distributions that I have used as guests with vland and lxroot.

Guest distro Can install as guest? Can install packages? Can build packages?
Alpine yes yes yes
Arch yes yes yes
Ubuntu work in progress work in progress probably
Void yes yes probably

Other Linux distributions may also work inside lxroot. (Some level of custom shimming may be required.)

Due to lxroot's safety, simplicity, efficiency, and ability to run without root access, lxroot has a few limitations. These limitations may or may not affect your particular use case.

Learn more

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