1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-19 19:35:27 +02:00
tldr/pages/linux/distrobox-export.md
Juri Dispan 0f0c9da99e
*: replace dead more information links (#11542)
* *: replace dead more informtion links

* dolt

* Apply suggestions from code review

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-19 22:07:13 +01:00

25 lines
974 B
Markdown

# distrobox-export
> Export app/service/binary from container to host OS.
> Subcommand of `distrobox`. See also: `tldr distrobox`.
> More information: <https://distrobox.it/usage/distrobox-export>.
- 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`