distrobox-init1
Usage
distrobox-init
Overview
Init the distrobox (not to be launched manually)
distrobox-init is the entrypoint of a created distrobox. Note that this HAS to run from inside a distrobox, will not work if you run it from your host.
This is not intended to be used manually, but instead used by distrobox-create to set up the container’s entrypoint.
distrobox-init will take care of installing missing dependencies (eg. sudo), set up the user and groups, mount directories from the host to ensure the tight integration.
Examples
-
distrobox-init --name test-user --user 1000 --group 1000 --home /home/test-user distrobox-init --upgrade
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)