DISTROBOX-INIT(1)
β¨ DISTROBOX-INIT β¨
okay bestie, welcome to the distrobox-init page of the User Manual π
this one is a lil different from your average manpage, so buckle up π
πΈ NAME πΈ
distrobox-init β the β¨ entrypoint β¨ of a distrobox, no cap
π¦ DESCRIPTION π¦
So likeβ¦ this is the thing that inits the distrobox. And before you ask β not to be launched manually, bestie, I mean it π
distrobox-init is literally the entrypoint of a created distrobox. And here's the vibe check: this HAS to run from inside a distrobox. It will not work if you run it from your host. Not a drill, not a suggestion, it's just facts fr fr π
This is not intended to be used manually. Instead it gets used by distrobox-create to set up the container's entrypoint. It's giving backstage crew energy β you don't see it, but the whole show depends on it π
And what does it actually do, you ask? 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 π«Ά
slay. that's the job. periodt.
π SYNOPSIS π
distrobox-init
okay so here's the full menu of flags, bestie β every single one, no skips, no cuts π
--name,-nβ user name--user,-uβ uid of the user--group,-gβ gid of the user--home,-dβ path/to/home of the user--help,-hβ show this message--additional-packagesβ packages to install in addition--init,-Iβ whether to use or not init--pre-init-hooksβ commands to execute prior to init--nvidiaβ try to integrate host's nVidia drivers in the guest--upgrade,-Uβ run init in upgrade mode--verbose,-vβ show more verbosity--version,-Vβ show version--β end arguments execute the rest as command to execute during init
π EXAMPLES π
here's how it actually looks in the wild, bestie π¦
distrobox-init --name test-user --user 1000 --group 1000 --home /home/test-user
distrobox-init --upgrade
π«Ά friendly reminder: this is the internal machinery, so if you're sitting there on your host thinking "let me just rundistrobox-initreal quick" β no. don't. it's not for you, it's fordistrobox-create. iykyk π
that's the whole page, babe β¨ this lil gem is brought to you by Distrobox, dated Mar 2026 π go forth and let the entrypoint do its thing ππ
π¦ where this page comes from
- alpine 3.24: distrobox-doc 1.8.2.5-r0 Β· GPL-3.0-only
- arch rolling: distrobox 1.8.2.5-1 Β· GPL-3.0-only
- epel 10: distrobox 1.8.2.5-1.el10_3 Β· GPL-3.0-only
- epel 9: distrobox 1.8.2.5-1.el9 Β· GPL-3.0-only
- fedora 43: distrobox 1.8.2.5-1.fc43 Β· GPL-3.0-only
- fedora 44: distrobox 1.8.2.5-1.fc44 Β· GPL-3.0-only
- nixos 26.05: distrobox 1.8.2.5
- nixpkgs unstable: distrobox 1.8.2.5
- ubuntu stonking: distrobox 1.8.2.5-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms