1DISTROBOX-HOST-EXEC(1)            User Manual           DISTROBOX-HOST-EXEC(1)
2
3
4

NAME

6              distrobox-host-exec
7

DESCRIPTION

9       distrobox-host-exec  lets one execute command on the host, while inside
10       of a container.
11
12       Under the hood, distrobox-host-exec uses host-spawn a project that lets
13       us execute commands back on the host.  If the tool is not found the us‐
14       er will be prompted to install it.
15

SYNOPSIS

17       Just pass to “distrobox-host-exec” any command and all  its  arguments,
18       if any.
19
20              --help/-h:      show this message
21              --verbose/-v:       show more verbosity
22              --version/-V:       show version
23              --yes/-Y:       Automatically answer yes to prompt:
24                                          host-spawn will be installed on the guest system
25                                          if host-spawn is not detected.
26                                          This behaviour is default when running in a non-interactive shell.
27
28       If no command is provided, it will execute “$SHELL”.
29
30       Alternatively, use symlinks to make distrobox-host-exec execute as that
31       command:
32
33              ~$: ln -s /usr/bin/distrobox-host-exec /usr/local/bin/podman
34              ~$: ls -l /usr/local/bin/podman
35              lrwxrwxrwx. 1 root root 51 Jul 11 19:26 /usr/local/bin/podman -> /usr/bin/distrobox-host-exec
36              ~$: podman version
37              ...this is executed on host...
38

EXAMPLES

40              distrobox-host-exec ls
41              distrobox-host-exec bash -l
42              distrobox-host-exec flatpak run org.mozilla.firefox
43              distrobox-host-exec podman ps -a
44
45
46
47Distrobox                          Nov 2023             DISTROBOX-HOST-EXEC(1)
Impressum