1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:02:08 +02:00
tldr/pages/linux/distrobox-enter.md
2022-01-22 16:28:05 -03:00

13 lines
533 B
Markdown

# 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`