Distrobox

From NixOS Wiki

Distrobox offers you to use any linux distribution inside your terminal as a simple wrapper for Docker.

Usage

Setup container with latest Archlinux image

# distrobox create --name archlinux --init --image archlinux:latest

Enter Archlinux container

# distrobox enter archlinux