2022-10-18 02:43:45 +05:30
|
|
|
# distrobox-export
|
|
|
|
|
2025-06-07 14:47:18 +00:00
|
|
|
> Export app/service/binary from container to host OS.
|
|
|
|
> See also: `distrobox`.
|
2023-11-19 22:07:13 +01:00
|
|
|
> More information: <https://distrobox.it/usage/distrobox-export>.
|
2022-10-18 02:43:45 +05:30
|
|
|
|
2023-03-02 21:50:46 +05:30
|
|
|
- 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-18 02:43:45 +05:30
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`distrobox-export {{[-a|--app]}} {{package}} {{[-ef|--extra-flags]}} "--foreground"`
|
2022-10-18 02:43:45 +05:30
|
|
|
|
|
|
|
- Export a binary from the container to the host:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`distrobox-export {{[-b|--bin]}} {{path/to/binary}} {{[-ep|--export-path]}} {{path/to/binary_on_host}}`
|
2022-10-18 02:43:45 +05:30
|
|
|
|
2025-05-03 18:38:20 +02:00
|
|
|
- Export a binary from the container to the host (i.e.`$HOME/.local/bin`):
|
2022-10-18 02:43:45 +05:30
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`distrobox-export {{[-b|--bin]}} {{path/to/binary}} {{[-ep|--export-path]}} {{path/to/export}}`
|
2022-10-18 02:43:45 +05:30
|
|
|
|
2023-03-19 17:05:00 +05:30
|
|
|
- Export a service from the container to the host (`--sudo` will run the service as root inside the container):
|
2022-10-18 02:43:45 +05:30
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`distrobox-export --service {{package}} {{[-ef|--extra-flags]}} "--allow-newer-config" {{[-S|--sudo]}}`
|
2022-10-18 02:43:45 +05:30
|
|
|
|
2023-03-02 21:50:46 +05:30
|
|
|
- Unexport/delete an exported application:
|
2022-10-18 02:43:45 +05:30
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`distrobox-export {{[-a|--app]}} {{package}} {{[-d|--delete]}}`
|