mirror of
https://github.com/containers/podman.git
synced 2025-12-08 23:00:23 +08:00
We now no longer write containers.conf, instead system connections and farms are written to a new file called podman-connections.conf. This is a major rework and I had to change a lot of things to get this to compile again with my c/common changes. It is a breaking change for users as connections/farms added before this commit can now no longer be removed or modified directly. However because the logic keeps reading from containers.conf the old connections can still be used to connect to a remote host. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
40 lines
1.3 KiB
Markdown
40 lines
1.3 KiB
Markdown
% podman-farm-list 1
|
|
|
|
## NAME
|
|
podman\-farm\-list - List the existing farms
|
|
|
|
## SYNOPSIS
|
|
**podman farm list** [*options*]
|
|
|
|
**podman farm ls** [*options*]
|
|
|
|
## DESCRIPTION
|
|
List all the existing farms.
|
|
|
|
## OPTIONS
|
|
|
|
#### **--format**=*format*
|
|
|
|
Change the default output format. This can be of a supported type like 'json' or a Go template.
|
|
Valid placeholders for the Go template listed below:
|
|
|
|
| **Placeholder** | **Description** |
|
|
| --------------- | --------------------------------------------------------------------- |
|
|
| .Connections | List of all system connections in the farm |
|
|
| .Default | Indicates whether farm is the default |
|
|
| .Name | Farm name |
|
|
| .ReadWrite | Indicates if this farm can be modified using the podman farm commands |
|
|
|
|
## EXAMPLE
|
|
```
|
|
$ podman farm list
|
|
Name Connections Default ReadWrite
|
|
farm1 [f38 f37] false true
|
|
farm2 [f37] true true
|
|
```
|
|
## SEE ALSO
|
|
**[podman(1)](podman.1.md)**, **[podman-farm(1)](podman-farm.1.md)**
|
|
|
|
## HISTORY
|
|
July 2023, Originally compiled by Urvashi Mohnani (umohnani at redhat dot com)
|