NAME 名称

podman-farm - Farm out builds to machines running podman for different architectures
podman-farm - 将构建分配给运行不同架构的 Podman 的机器

SYNOPSIS 概要

podman farm subcommand podman farm 子命令

DESCRIPTION 描述

Farm out builds to machines running Podman for different architectures.
将构建分配给运行不同架构的 Podman 的机器。

Manage farms by creating, updating, and removing them.
通过创建、更新和删除农场来管理农场。

Note: All farm machines must have a minimum podman version of v4.9.0.
注意:所有农场机器必须具有至少 v4.9.0 版本的 podman。

Podman manages the farms by writing and reading the podman-connections.json file located under $XDG_CONFIG_HOME/containers or if the env is not set it defaults to $HOME/.config/containers. Or the PODMAN_CONNECTIONS_CONF environment variable can be set to a full file path which podman will use instead. This file is managed by the podman commands and should never be edited by users directly. To manually configure the farms use the [farm] section in containers.conf.
Podman 通过写入和读取位于 $XDG_CONFIG_HOME/containers 下的 podman-connections.json 文件来管理农场,或者如果未设置环境,则默认为 $HOME/.config/containers 。或者可以将 PODMAN_CONNECTIONS_CONF 环境变量设置为 podman 将使用的完整文件路径。该文件由 podman 命令管理,用户不应直接编辑。要手动配置农场,请使用 containers.conf 中的 [farm] 部分。

If the ReadWrite column in the podman farm list output is set to true the farm is stored in the podman-connections.json file otherwise it is stored in containers.conf and can therefore not be edited with the podman farm remove/update commands. It can still be used with podman farm build.
如果 podman farm list 输出中的 ReadWrite 列设置为 true,则该 farm 存储在 podman-connections.json 文件中,否则存储在 containers.conf 中,因此无法使用 podman farm remove/update 命令进行编辑。仍可使用 podman farm build。

COMMANDS 命令 ¶

Command

Man Page 手册页

Description

build

podman-farm-build(1)

Build images on farm nodes, then bundle them into a manifest list
在 farm 节点上构建镜像,然后将它们捆绑到清单列表中

create

podman-farm-create(1)

Create a new farm 创建一个新的农场

list

podman-farm-list(1)

List the existing farms 列出现有的农场

remove

podman-farm-remove(1)

Delete one or more farms
删除一个或多个农场

update

podman-farm-update(1)

Update an existing farm 更新现有农场

SEE ALSO 参见 ¶

podman(1)

HISTORY 历史 ¶

July 2023, Originally compiled by Urvashi Mohnani (umohnani at redhat dot com)
2023 年 7 月,最初由 Urvashi Mohnani (umohnani at redhat dot com) 编译