mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:22:09 +02:00
distrobox: add page (#7638)
This commit is contained in:
parent
47445dd786
commit
26adab31c6
4 changed files with 50 additions and 0 deletions
13
pages/linux/distrobox-create.md
Normal file
13
pages/linux/distrobox-create.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# distrobox-create
|
||||
|
||||
> Create Distrobox containers with an input name and image.
|
||||
> 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://distrobox.privatedns.org>.
|
||||
|
||||
- Create a distrobox using the Alpine image:
|
||||
|
||||
`distrobox-create {{container_name}} --image alpine`
|
||||
|
||||
- Clone a distrobox:
|
||||
|
||||
`distrobox-create --clone {{container_name}} {{cloned_container_name}}`
|
13
pages/linux/distrobox-enter.md
Normal file
13
pages/linux/distrobox-enter.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# distrobox-enter
|
||||
|
||||
> Run a command in a Distrobox container.
|
||||
> 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://distrobox.privatedns.org>.
|
||||
|
||||
- Enter a distrobox and run `sh -l`:
|
||||
|
||||
`distrobox-enter container-name -- sh -l`
|
||||
|
||||
- Enter a distrobox without instantiating a tty:
|
||||
|
||||
`distrobox-enter -H container-name -- uptime -p`
|
12
pages/linux/distrobox-list.md
Normal file
12
pages/linux/distrobox-list.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# distrobox-list
|
||||
|
||||
> List available Distrobox containers. It detects them and lists them separately from the rest of normal podman or Docker containers.
|
||||
> More information: <https://distrobox.privatedns.org>.
|
||||
|
||||
- List all distrobox containers:
|
||||
|
||||
`distrobox-list`
|
||||
|
||||
- List all distrobox containers with verbose information:
|
||||
|
||||
`distrobox-list -v`
|
12
pages/linux/distrobox-rm.md
Normal file
12
pages/linux/distrobox-rm.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# distrobox-rm
|
||||
|
||||
> Delete Distrobox containers.
|
||||
> More information: <https://distrobox.privatedns.org>.
|
||||
|
||||
- Remove a distrobox:
|
||||
|
||||
`distrobox-rm {{container_name}}`
|
||||
|
||||
- Remove a distrobox forcefully:
|
||||
|
||||
`distrobox-rm {{container_name}} --force`
|
Loading…
Add table
Reference in a new issue