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

18 lines
698 B
Markdown
Raw Normal View History

2022-01-22 20:28:05 +01:00
# distrobox-enter
> Enter a Distrobox container. See also: `tldr distrobox`.
> 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.
> More information: <https://distrobox.it/usage/distrobox-enter>.
- Enter a Distrobox container:
`distrobox-enter {{container_name}}`
2022-01-22 20:28:05 +01:00
- Enter a Distrobox container and run a command at login:
2022-01-22 20:28:05 +01:00
`distrobox-enter {{container_name}} -- {{sh -l}}`
2022-01-22 20:28:05 +01:00
- Enter a Distrobox container without instantiating a tty:
2022-01-22 20:28:05 +01:00
`distrobox-enter {{[-n|--name]}} {{container_name}} -- {{uptime --pretty}}`