commands.sh

toolbox run

linux

Run a command in an existing Toolbx container. See also: `toolbox enter`.

More info →

Options (3)

-c, --containerboolean

Run a command inside a specific Toolbx container

Example: toolbox run {{[-c|--container]}} {{container_name}} {{command}}
-d, --distroboolean

Run a command inside a Toolbx container for a specific release of a distribution

Example: toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}
-r, --releaseboolean

Run a command inside a Toolbx container for a specific release of a distribution

Example: toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}

Examples (3)

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] fversion emacs
made by @shridhargupta | data from tldr-pages