1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 13:33:43 +02:00

distrobox-*: update pages

This commit is contained in:
K.B.Dharun Krishna 2023-03-02 21:50:46 +05:30
parent 67757373a1
commit 9a549b6c86
9 changed files with 34 additions and 34 deletions

View file

@ -1,8 +1,8 @@
# distrobox-create
> Create a distrobox container. More about distrobox: `tldr distrobox`.
> Create a distrobox container. See also: `tldr distrobox`.
> The created container will be tightly integrated with the host, allowing sharing of the HOME directory of the user, external storage, external usb devices and graphical apps (X11/Wayland), and audio.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-create.md>.
> More information: <https://distrobox.privatedns.org/usage/distrobox-create.html>.
- Create a distrobox using the Ubuntu Linux image:

View file

@ -1,14 +1,14 @@
# distrobox-enter
> Enter a distrobox container. More about distrobox: `tldr distrobox`.
> Enter a distrobox container. See also: `tldr distrobox`.
> Default command executed is your SHELL, but you can specify different shells or entire commands to execute. If used inside a script, an application, or a service, you can specify the --headless mode to disable tty and interactivity.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-enter.md>.
> More information: <https://distrobox.privatedns.org/usage/distrobox-enter.html>.
- Enter a distrobox:
- Enter a distrobox container:
`distrobox-enter {{container-name}}`
- Enter a distrobox and run `sh -l`:
- Enter a distrobox container and run `sh -l`:
`distrobox-enter container-name -- sh -l`

View file

@ -1,25 +1,25 @@
# distrobox-export
> Export app/service/binary from container to host OS.
> Subcommand of `distrobox`. More about distrobox: `tldr distrobox`.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-export.md>.
> Subcommand of `distrobox`. See also: `tldr distrobox`.
> More information: <https://distrobox.privatedns.org/usage/distrobox-export.html>.
- Export an app (eg: gedit) from the container to the host (will show up in your host system's application list):
- 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 {{gedit}} --extra-flags "--foreground"`
`distrobox-export --app {{package_name}} --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 (eg: ranger) from the container to the host:
- Export a binary from the container to the host (i.e `$HOME/.local/bin`) :
`distrobox-export --bin {{/usr/bin/ranger}} --export-path {{$HOME/.local/bin}}`
`distrobox-export --bin {{path/to/binary}} --export-path {{path/to/export}}`
- Export a service (eg: syncthing) from container to the host (`--sudo` will run the service as root inside the container):
- Export a service from container to the host (`--sudo` will run the service as root inside the container):
`distrobox-export --service {{syncthing}} --extra-flags "--allow-newer-config" --sudo`
`distrobox-export --service {{package}} --extra-flags "--allow-newer-config" --sudo`
- Unexport/delete an exported app (eg: gedit):
- Unexport/delete an exported application:
`distrobox-export --app {{gedit}} --delete`
`distrobox-export --app {{package}} --delete`

View file

@ -1,13 +1,13 @@
# distrobox-host-exec
> Execute a command on host while inside a distrobox container.
> Subcommand of `distrobox`. More about distrobox: `tldr distrobox`.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-host-exec.md>.
> Subcommand of `distrobox`. See also: `tldr distrobox`.
> More information: <https://distrobox.privatedns.org/usage/distrobox-host-exec.html>.
- Execute command on the host system, while inside of a container:
- Execute command on the host system from inside the container:
`distrobox-host-exec "{{command}}"`
- Execute `ls` command on the host system, while inside of a container:
- Execute the `ls` command on the host system from inside the container:
`distrobox-host-exec ls`

View file

@ -1,8 +1,8 @@
# distrobox-list
> List all distrobox containers. More about distrobox: `tldr distrobox`.
> List all distrobox containers. See also: `tldr distrobox`.
> It detects them and lists them separately from the rest of normal podman or Docker containers.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-list.md>.
> More information: <https://distrobox.privatedns.org/usage/distrobox-list.html>.
- List all distrobox containers:

View file

@ -1,10 +1,10 @@
# distrobox-rm
> Remove a distrobox container.
> Subcommand of `distrobox`. More about distrobox: `tldr distrobox`.
> Subcommand of `distrobox`. See also: `tldr distrobox`.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-rm.md>.
- Remove a distrobox (remember to stop container before removing it):
- Remove a distrobox (Tip: Stop the container before removing it):
`distrobox-rm {{container_name}}`

View file

@ -1,8 +1,8 @@
# distrobox-stop
> Stop a distrobox container.
> Subcommand of `distrobox`. More about distrobox: `tldr distrobox`.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-stop.md>.
> Subcommand of `distrobox`. See also: `tldr distrobox`.
> More information: <https://distrobox.privatedns.org/usage/distrobox-stop.html>.
- Stop a distrobox container:

View file

@ -1,17 +1,17 @@
# distrobox-upgrade
> Upgrade a distrobox container.
> Subcommand of `distrobox`. More about distrobox: `tldr distrobox`.
> Upgrade one or multiple distrobox containers.
> Subcommand of `distrobox`. See also: `tldr distrobox`.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-upgrade.md>.
- Upgrade a container using the container's package manager:
- Upgrade a container using the container's native package manager:
`distrobox-upgrade {{container_name}}`
- Upgrade all containers using the containers' package managers:
- Upgrade all containers using the container's native package managers:
`distrobox-upgrade --all`
- Upgrade specific containers via containers' package managers:
- Upgrade specific containers via container's native package managers:
`distrobox-upgrade {{container1 container2 ...}}`

View file

@ -1,7 +1,7 @@
# distrobox
> Use any Linux distribution inside your terminal by running it as a container. Install & use packages inside it while tightly integrating with host OS, sharing storage, HOME directory with GUI & audio capabilities.
> You can install any software inside it. Eg: installing a `.deb` package inside an ubuntu container running on an Arch Linux host system. Packages inside container can access host's files.
> Use any Linux distribution inside your terminal by running it as a container. Install & use packages inside it while tightly integrating with the host OS, sharing storage, and `home` directory with GUI & audio capabilities.
> You can install any software inside it. Eg: installing a `.deb` package inside an ubuntu container running on an Arch Linux host system. Packages inside the container can access the host's files.
> More information: <https://github.com/89luca89/distrobox>.
- Show tldr page for distrobox-create (creating containers):
@ -16,7 +16,7 @@
`tldr distrobox-enter`
- Show tldr page for distrobox-host-exec (Execute command on host while inside a container):
- Show tldr page for distrobox-host-exec (Execute command on the host while inside a container):
`tldr distrobox-host-exec`