NAME¶ 名称
podman-machine - Manage Podman’s virtual machine
podman-machine - 管理 Podman 的虚拟机
SYNOPSIS¶ 概要
podman machine subcommand
podman 机器子命令
DESCRIPTION¶ 描述
podman machine
is a set of subcommands that manage Podman’s virtual machine.
podman machine
是一组管理 Podman 虚拟机的子命令。
Podman on MacOS and Windows requires a virtual machine. This is because containers are Linux -
containers do not run on any other OS because containers’ core functionality are
tied to the Linux kernel. Podman machine must be used to manage MacOS and Windows machines,
but can be optionally used on Linux.
MacOS 和 Windows 上的 Podman 需要虚拟机。这是因为容器是 Linux 容器 - 容器不在任何其他操作系统上运行,因为容器的核心功能与 Linux 内核绑定。必须使用 Podman 机器来管理 MacOS 和 Windows 机器,但在 Linux 上可以选择性地使用。
All podman machine
commands are rootless only.
所有 podman machine
命令仅限 rootless。
NOTE: The podman-machine configuration file is managed under the
$XDG_CONFIG_HOME/containers/podman/machine/
directory. Changing the $XDG_CONFIG_HOME
environment variable while the machines are running can lead to unexpected behavior.
注意:podman-machine 配置文件由 $XDG_CONFIG_HOME/containers/podman/machine/
目录管理。在机器运行时更改 $XDG_CONFIG_HOME
环境变量可能导致意外行为。
SUBCOMMANDS¶ 子命令 ¶
Command |
Man Page 手册页 |
Description |
---|---|---|
info |
Display machine host info |
|
init |
Initialize a new virtual machine |
|
inspect |
Inspect one or more virtual machines |
|
list |
List virtual machines 列出虚拟机 |
|
os |
Manage a Podman virtual machine’s OS |
|
reset |
Reset Podman machines and environment |
|
rm |
Remove a virtual machine 删除虚拟机 |
|
set |
Set a virtual machine setting |
|
ssh |
SSH into a virtual machine |
|
start |
Start a virtual machine 启动虚拟机 |
|
stop |
Stop a virtual machine 停止虚拟机 |
SEE ALSO¶ 参见 ¶
podman(1), podman-machine-info(1), podman-machine-init(1), podman-machine-list(1), podman-machine-os(1), podman-machine-rm(1), podman-machine-ssh(1), podman-machine-start(1), podman-machine-stop(1), podman-machine-inspect(1), podman-machine-reset(1)
HISTORY¶ 历史 ¶
March 2021, Originally compiled by Ashley Cui acui@redhat.com
2021 年 3 月,最初由 Ashley Cui acui@redhat.com 编写