1DISTROBOX-INIT(1) User Manual DISTROBOX-INIT(1)
2
3
4
6 distrobox-init is the entrypoint of a created distrobox. Note that
7 this HAS to run from inside a distrobox, will not work if you run it
8 from your host.
9
10 This is not intended to be used manually, but instead used by dis‐
11 trobox-enter to set up the container’s entrypoint.
12
13 distrobox-init will take care of installing missing dependencies (eg.
14 sudo), set up the user and groups, mount directories from the host to
15 ensure the tight integration.
16
17 Usage:
18
19 distrobox-init --name test-user --user 1000 --group 1000 --home /home/test-user
20
21 Options:
22
23 --name/-n: user name
24 --user/-u: uid of the user
25 --group/-g: gid of the user
26 --home/-d: path/to/home of the user
27 --help/-h: show this message
28 --init/-I: whether to use or not init
29 --pre-init-hooks: commands to execute prior to init
30 --verbose/-v: show more verbosity
31 --version/-V: show version
32 --: end arguments execute the rest as command to execute during init
33
34 This is used as entrypoint for the created container, it will take care
35 of creating the users, setting up sudo, mountpoints, and exports.
36
37 You should not have to launch this manually, this is used by distrobox
38 create to set up container’s entrypoint.
39
40
41
42Distrobox Jun 2022 DISTROBOX-INIT(1)