Files
cheatsheet-tldr/tldr/linux/toolbox-run
2025-05-12 00:21:19 +00:00

23 lines
710 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 {{[-c|--container]}} {{container_name}} {{command}}`
- Run a command inside a `toolbox` container for a specific release of a distribution:
`toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}`
- Run `emacs` inside a `toolbox` container using the default image for Fedora 39:
`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}} {{emacs}}`