podman-system-connection-list − List the destination for the Podman service(s)
podman system connection list [options]
podman system connection ls [options]
List ssh destination(s) for podman service(s).
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:
Only show connection names
List system connections:
$ podman system connection list
|
Name URI Identity |
Default ReadWrite |
deva
ssh://[email protected]:/run/podman/podman.sock
˜/.ssh/id_rsa true true
devb
ssh://[email protected]:/run/user/1000/podman/podman.sock
˜/.ssh/id_rsa false true
Show connections in JSON format:
$ podman system
connection list --format json
[
{
"Name": "podman-machine-default",
"URI":
"ssh://[email protected]:53298/run/user/501/podman/podman.sock",
"Identity":
"/Users/ragm/.local/share/containers/podman/machine/machine",
"IsMachine": true,
"Default": true,
"ReadWrite": true
},
{
"Name": "podman-machine-default-root",
"URI":
"ssh://[email protected]:53298/run/podman/podman.sock",
"Identity":
"/Users/ragm/.local/share/containers/podman/machine/machine",
"IsMachine": true,
"Default": false,
"ReadWrite": true
}
]
Show connection names and URIs:
$ podman system connection list --format "{{.Name}}\t{{.URI}}"
|
podman-machine-default |
ssh://[email protected]:53298/run/user/501/podman/podman.sock |
||||
|
podman-machine-default-root |
ssh://[email protected]:53298/run/podman/podman.sock |
Show all connection details in a comprehensive format:
$ podman system
connection list --format "Name: {{.Name}}\nURI:
{{.URI}}\nIdentity: {{.Identity}}\nDefault:
{{.Default}}\nReadWrite: {{.ReadWrite}}\n---"
Name: podman-machine-default
URI:
ssh://[email protected]:53298/run/user/501/podman/podman.sock
Identity:
/Users/ragm/.local/share/containers/podman/machine/machine
Default: true
ReadWrite: true
---
Name: podman-machine-default-root
URI: ssh://[email protected]:53298/run/podman/podman.sock
Identity:
/Users/ragm/.local/share/containers/podman/machine/machine
Default: false
ReadWrite: true
---
podman(1), podman-system(1), podman-system-connection(1)
July 2020, Originally compiled by Jhon Honce (jhonce at redhat dot com)