mirror of https://github.com/CrimsonTome/tldr.git
distrobox: add page (#7638)
parent
47445dd786
commit
26adab31c6
|
@ -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}}`
|
|
@ -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`
|
|
@ -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`
|
|
@ -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…
Reference in New Issue