Distrobox: Difference between revisions
Update info, add link to documentation |
Add setup section |
||
Line 1: | Line 1: | ||
[https://distrobox.it Distrobox] offers you to use any linux distribution inside your terminal as a simple wrapper for [[Podman]], [[Docker]] or Lilipod. | [https://distrobox.it Distrobox] offers you to use any linux distribution inside your terminal as a simple wrapper for [[Podman]], [[Docker]] or Lilipod. | ||
== Setup == | |||
Distrobox uses Docker internally to fetch and run system images. Easily get started by enabling Podman with Docker-compatibility mode.<syntaxhighlight lang="nix"> | |||
virtualisation.podman = { | |||
enable = true; | |||
dockerCompat = true; | |||
}; | |||
environment.systemPackages = [ pkgs.distrobox ]; | |||
</syntaxhighlight> | |||
== Usage == | == Usage == |
Revision as of 13:06, 5 August 2024
Distrobox offers you to use any linux distribution inside your terminal as a simple wrapper for Podman, Docker or Lilipod.
Setup
Distrobox uses Docker internally to fetch and run system images. Easily get started by enabling Podman with Docker-compatibility mode.
virtualisation.podman = {
enable = true;
dockerCompat = true;
};
environment.systemPackages = [ pkgs.distrobox ];
Usage
Setup container with latest Arch Linux image
# distrobox create --name archlinux --init --image archlinux:latest
Enter Arch Linux container
# distrobox enter archlinux
For further usage, please refer to the Distrobox documentation.