2022-10-17 22:13:45 +01:00
|
|
|
# distrobox-export
|
|
|
|
|
2023-11-26 17:02:06 +00:00
|
|
|
> Export app/service/binary from container to host OS. See also: `tldr distrobox`.
|
2023-11-19 21:07:13 +00:00
|
|
|
> More information: <https://distrobox.it/usage/distrobox-export>.
|
2022-10-17 22:13:45 +01:00
|
|
|
|
2023-03-02 16:20:46 +00:00
|
|
|
- Export an app from the container to the host (the desktop entry/icon will show up in your host system's application list):
|
2022-10-17 22:13:45 +01:00
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`distrobox-export --app {{package}} --extra-flags "--foreground"`
|
2022-10-17 22:13:45 +01:00
|
|
|
|
|
|
|
- Export a binary from the container to the host:
|
|
|
|
|
|
|
|
`distrobox-export --bin {{path/to/binary}} --export-path {{path/to/binary_on_host}}`
|
|
|
|
|
2023-03-19 11:35:00 +00:00
|
|
|
- Export a binary from the container to the host (i.e.`$HOME/.local/bin`) :
|
2022-10-17 22:13:45 +01:00
|
|
|
|
2023-03-02 16:20:46 +00:00
|
|
|
`distrobox-export --bin {{path/to/binary}} --export-path {{path/to/export}}`
|
2022-10-17 22:13:45 +01:00
|
|
|
|
2023-03-19 11:35:00 +00:00
|
|
|
- Export a service from the container to the host (`--sudo` will run the service as root inside the container):
|
2022-10-17 22:13:45 +01:00
|
|
|
|
2023-03-02 16:20:46 +00:00
|
|
|
`distrobox-export --service {{package}} --extra-flags "--allow-newer-config" --sudo`
|
2022-10-17 22:13:45 +01:00
|
|
|
|
2023-03-02 16:20:46 +00:00
|
|
|
- Unexport/delete an exported application:
|
2022-10-17 22:13:45 +01:00
|
|
|
|
2023-03-02 16:20:46 +00:00
|
|
|
`distrobox-export --app {{package}} --delete`
|