1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 05:22:11 +02:00
tldr/pages/linux/distrobox-export.md
K.B.Dharun Krishna 2135714193
pages/*, style-guide: update contents, fix Markdown (#10492)
* pages/*, style-guide: update pages, fix Markdown (commit 1)

* Update pages

* style-guide.de: update page

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* pip3: remove search command

* rpm: update path placeholder

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/linux/pkgfile.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: pixel <pixel+github@chrissx.de>
2023-08-26 23:00:06 +05:30

991 B

distrobox-export

Export app/service/binary from container to host OS. Subcommand of distrobox. See also: tldr distrobox. More information: https://distrobox.privatedns.org/usage/distrobox-export.html.

  • Export an app from the container to the host (the desktop entry/icon will show up in your host system's application list):

distrobox-export --app {{package}} --extra-flags "--foreground"

  • Export a binary from the container to the host:

distrobox-export --bin {{path/to/binary}} --export-path {{path/to/binary_on_host}}

  • Export a binary from the container to the host (i.e.$HOME/.local/bin) :

distrobox-export --bin {{path/to/binary}} --export-path {{path/to/export}}

  • Export a service from the container to the host (--sudo will run the service as root inside the container):

distrobox-export --service {{package}} --extra-flags "--allow-newer-config" --sudo

  • Unexport/delete an exported application:

distrobox-export --app {{package}} --delete