2022-06-22 08:47:30 +02:00
|
|
|
<!-- markdownlint-disable MD010 MD036 -->
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
|
|
distrobox-init
|
|
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
|
|
**Init the distrobox (not to be launched manually)**
|
2022-01-13 19:23:12 +01:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2026-06-25 12:29:31 +02:00
|
|
|
**This is not intended to be used manually, but instead used by `distrobox create`
|
2022-06-22 08:47:30 +02:00
|
|
|
to set up the container's entrypoint.**
|
2022-01-13 19:23:12 +01:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2022-06-22 08:47:30 +02:00
|
|
|
# SYNOPSIS
|
2022-01-13 19:23:12 +01:00
|
|
|
|
2022-06-22 08:47:30 +02:00
|
|
|
**distrobox-init**
|
2022-01-13 19:23:12 +01:00
|
|
|
|
|
|
|
|
--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
|
2023-03-09 20:23:29 +01:00
|
|
|
--additional-packages: packages to install in addition
|
2022-01-28 23:30:25 +01:00
|
|
|
--init/-I: whether to use or not init
|
2022-05-15 11:14:24 -07:00
|
|
|
--pre-init-hooks: commands to execute prior to init
|
2023-03-26 16:00:21 +02:00
|
|
|
--nvidia: try to integrate host's nVidia drivers in the guest
|
2022-08-31 15:07:13 +02:00
|
|
|
--upgrade/-U: run init in upgrade mode
|
2022-01-13 19:23:12 +01:00
|
|
|
--verbose/-v: show more verbosity
|
|
|
|
|
--version/-V: show version
|
2022-01-27 22:51:47 +01:00
|
|
|
--: end arguments execute the rest as command to execute during init
|
2022-01-13 19:23:12 +01:00
|
|
|
|
2022-06-22 08:47:30 +02:00
|
|
|
# EXAMPLES
|
2022-01-13 19:23:12 +01:00
|
|
|
|
2022-06-22 08:47:30 +02:00
|
|
|
distrobox-init --name test-user --user 1000 --group 1000 --home /home/test-user
|
2022-08-31 15:07:13 +02:00
|
|
|
distrobox-init --upgrade
|