distrobox

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

distrobox is a program used to run a Linux Distribution in a terminal.

Installation

USE flags

USE flags for app-containers/distrobox Use any Linux distribution inside your terminal (powered by docker/podman)

Emerge

root #emerge --ask app-containers/distrobox

Installing a container

Podman

Emerge Podman:

root #emerge --ask app-containers/podman

Docker

Docker currently does not work. To install it anyway, emerge Docker:

root #emerge --ask app-containers/docker

Usage

First, install an image (for this command sudo needs to be installed):

user $distrobox create --name gentoo -i docker.io/gentoo/stage3:latest -n test --root

Then, enter the Distrobox Container:

user $distrobox enter --root test