DISTROBOX-INIT(1)

πŸ“¦
version 1.8.2.5 Β· 6 versions
, in alpine 3.24, arch rolling, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu stonking

✨ 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 run distrobox-init real quick" β€” no. don't. it's not for you, it's for distrobox-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 πŸ‘‘πŸ’œ