mirror of
https://github.com/89luca89/distrobox.git
synced 2025-02-25 18:55:25 -06:00
docs: update docs page
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
@@ -76,7 +76,6 @@ graphical apps (X11/Wayland), and audio.
|
||||
- [Export to the host](useful_tips.md#export-to-the-host)
|
||||
- [Execute commands on the host](useful_tips.md#execute-commands-on-the-host)
|
||||
- [Enable SSH X-Forwarding when SSH-ing in a distrobox](useful_tips.md#enable-ssh-x-forwarding-when-ssh-ing-in-a-distrobox)
|
||||
- [Use distrobox to install different flatpaks from the host](useful_tips.md#use-distrobox-to-install-different-flatpaks-from-the-host)
|
||||
- [Using podman or docker inside a distrobox](useful_tips.md#using-podman-or-docker-inside-a-distrobox)
|
||||
- [Using init system inside a distrobox](useful_tips.md#using-init-system-inside-a-distrobox)
|
||||
- [Using distrobox as main cli](useful_tips.md#using-distrobox-as-main-cli)
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
- [Export to the host](#export-to-the-host)
|
||||
- [Execute commands on the host](#execute-commands-on-the-host)
|
||||
- [Enable SSH X-Forwarding when SSH-ing in a distrobox](#enable-ssh-x-forwarding-when-ssh-ing-in-a-distrobox)
|
||||
- [Use distrobox to install different flatpaks from the host](#use-distrobox-to-install-different-flatpaks-from-the-host)
|
||||
- [Using podman or docker inside a distrobox](#using-podman-or-docker-inside-a-distrobox)
|
||||
- [Using init system inside a distrobox](#using-init-system-inside-a-distrobox)
|
||||
- [Using distrobox as main cli](#using-distrobox-as-main-cli)
|
||||
@@ -208,22 +207,6 @@ This will ensure SSH X-Forwarding will work when SSH-ing inside the distrobox:
|
||||
|
||||
`ssh -X myhost distrobox enter test -- xclock`
|
||||
|
||||
## Use distrobox to install different flatpaks from the host
|
||||
|
||||
By default distrobox will integrate with host's flatpak directory if present:
|
||||
`/var/lib/flatpak` and obviously with the $HOME one.
|
||||
|
||||
If you want to have a separate system remote between host and container,
|
||||
you can create your distrobox with the following init-hook:
|
||||
|
||||
```sh
|
||||
distrobox create --name test --image your-chosen-image:tag \
|
||||
--init-hooks 'umount /var/lib/flatpak'`
|
||||
```
|
||||
|
||||
After that you'll be able to have separate flatpaks between host and distrobox.
|
||||
You can proceed to export them using `distrobox-export` (for distrobox 1.2.14+)
|
||||
|
||||
## Using podman or docker inside a distrobox
|
||||
|
||||
You can easily control host's instance of docker or podman, using `distrobox-host-exec`
|
||||
|
||||
Reference in New Issue
Block a user