1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/distrobox-enter.md

14 lines
533 B
Markdown
Raw Normal View History

2022-01-22 20:28:05 +01:00
# 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`