1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-06 04:55:25 +02:00
tldr/pages/linux/distrobox-enter.md
Pranaov S bafdb59eaa
*: follow style guide for see also section (#16793)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-06-07 17:47:18 +03:00

18 lines
695 B
Markdown

# distrobox-enter
> Enter 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 use the `--headless` mode to disable the tty and interactivity.
> See also: `distrobox`.
> More information: <https://distrobox.it/usage/distrobox-enter>.
- Enter a Distrobox container:
`distrobox-enter {{container_name}}`
- Enter a Distrobox container and run a command at login:
`distrobox-enter {{container_name}} -- {{sh -l}}`
- Enter a Distrobox container without instantiating a tty:
`distrobox-enter {{[-n|--name]}} {{container_name}} -- {{uptime --pretty}}`