tldr/pages/linux/distrobox-enter.md

18 lines
667 B
Markdown
Raw Normal View History

2022-01-22 19:28:05 +00:00
# distrobox-enter
> Enter a distrobox container. More about distrobox: `tldr distrobox`.
2022-01-22 19:28:05 +00:00
> 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://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-enter.md>.
- Enter a distrobox:
`distrobox-enter {{container-name}}`
2022-01-22 19:28:05 +00:00
- 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`