tldr/pages/linux/toolbox-run.md

18 lines
573 B
Markdown
Raw Normal View History

2022-08-05 08:31:03 +01:00
# toolbox run
> Run a command in an existing `toolbox` container.
> See also: `toolbox enter`.
> More information: <https://manned.org/toolbox-run>.
- Run a command inside a specific `toolbox` container:
`toolbox run --container {{container_name}} {{command}}`
- Run a command inside a `toolbox` container for a specific release of a distribution:
`toolbox run --distro {{distribution}} --release {{release}} {{command}}`
- Run `emacs` inside a `toolbox` container using the default image for Fedora 38:
2022-08-05 08:31:03 +01:00
`toolbox run --distro {{fedora}} --release {{f38}} {{emacs}}`