mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
719 B
Plaintext
23 lines
719 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# toolbox run
|
|
|
|
> Run a command in an existing Toolbx container.
|
|
> See also: `toolbox enter`.
|
|
> More information: <https://manned.org/toolbox-run>.
|
|
|
|
- Run a command inside a specific Toolbx container:
|
|
|
|
`toolbox run {{[-c|--container]}} {{container_name}} {{command}}`
|
|
|
|
- Run a command inside a Toolbx container for a specific release of a distribution:
|
|
|
|
`toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}`
|
|
|
|
- Run `emacs` inside a Toolbx container using the default image for a specific Fedora release:
|
|
|
|
`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} f{{version}} {{emacs}}`
|