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

podman-machine-info(1)

Display machine host info
显示机器主机信息

init

podman-machine-init(1)

Initialize a new virtual machine
初始化新的虚拟机

inspect

podman-machine-inspect(1)

Inspect one or more virtual machines
检查一个或多个虚拟机

list

podman-machine-list(1)

List virtual machines 列出虚拟机

os

podman-machine-os(1)

Manage a Podman virtual machine’s OS
管理 Podman 虚拟机的操作系统

reset

podman-machine-reset(1)

Reset Podman machines and environment
重置 Podman 机器和环境

rm

podman-machine-rm(1)

Remove a virtual machine 删除虚拟机

set

podman-machine-set(1)

Set a virtual machine setting
设置虚拟机设置

ssh

podman-machine-ssh(1)

SSH into a virtual machine
SSH 进入虚拟机

start

podman-machine-start(1)

Start a virtual machine 启动虚拟机

stop

podman-machine-stop(1)

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 编写