名称

podman-machine-reset - 重置 Podman 机器和环境

简介

podman machine reset [选项]

描述

重置您的 Podman 机器环境。此命令会停止所有正在运行的机器,然后将其删除。接着会删除配置和数据文件。数据文件包括机器磁盘镜像和任何之前拉取的缓存镜像。运行此命令后,您的所有 Podman 机器都将被删除。

选项

--force, -f

重置时无需确认。

--help

打印使用说明。

示例

$ podman machine reset
Warning: this command will delete all existing podman machines
and all of the configuration and data directories for Podman machines

The following machine(s) will be deleted:

dev
podman-machine-default

Are you sure you want to continue? [y/N] y
$

强制重置,无需确认。

$ podman machine reset --force
$

另请参阅

podman(1), podman-machine(1)

历史

2024 年 2 月,最初由 Brent Baudebbaude@redhat.com 编译