distrobox-export
export container applications and binaries to host system
TLDR
Export an app to the host
$ distrobox-export --app [mpv]
Export an app with extra launch flags$ distrobox-export --app [atom] --extra-flags "--foreground"
Export a binary to ~/.local/bin$ distrobox-export --bin [/usr/bin/vim] --export-path [~/.local/bin]
List apps already exported from this container$ distrobox-export --list-apps
Delete an exported application$ distrobox-export --app [atom] --delete
SYNOPSIS
distrobox-export [options]
DESCRIPTION
distrobox-export exports applications or binaries from a Distrobox container to the host system. Exported apps appear in the host's application menu, and exported binaries become available on the host through a small wrapper script that runs them inside the container.Run this command from inside the container. Use either --app or --bin, not both together.
PARAMETERS
-a, --app app
Export application by name or absolute path to a .desktop file (creates a desktop entry)-b, --bin binary
Export a binary by its absolute path inside the container--list-apps
List applications already exported from this container--list-binaries
List binaries already exported from this container-ep, --export-path path
Destination path for an exported binary (e.g. ~/.local/bin)-el, --export-label label
Label appended to the exported application name (defaults to "(on container)"; use "none" to disable)-ef, --extra-flags flags
Extra flags passed to the command when the exported item runs-nf, --enter-flags flags
Extra flags passed to the underlying `distrobox enter`-S, --sudo
Run the exported item as root inside the container-d, --delete
Un-export the specified application or binary
INSTALL
sudo dnf install distrobox
sudo pacman -S distrobox
sudo apk add distrobox
sudo zypper install distrobox
brew install distrobox
nix profile install nixpkgs#distrobox
CAVEATS
Must be run from inside the container. Exported apps depend on the container existing (it is started automatically on launch). Deleting the container breaks exported applications and binaries.
SEE ALSO
distrobox(1), distrobox-enter(1)
