Files
tldr/pages.zh/linux/toolbox-run.md

17 lines
530 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# toolbox run
> 在现有的 `toolbox` 容器中运行命令。
> 另见:`toolbox enter`。
> 更多信息:<https://manned.org/toolbox-run>。
- 在特定的 `toolbox` 容器中运行命令:
`toolbox run --container {{container_name}} {{command}}`
- 在特定发行版的 `toolbox` 容器中运行命令:
`toolbox run --distro {{distribution}} --release {{release}} {{command}}`
-`toolbox` 容器中使用 Fedora 39 的默认镜像运行 `emacs`
`toolbox run --distro {{fedora}} --release {{f39}} {{emacs}}`