podman-system-connection(1)
π podman-system-connection β bestie edition
okay so this is the podman-system-connection(1) page, straight outta the General Commands Manual, and it's literally the one that handles your Podman service destinations. let's get into it π«Ά
β¨ NAME β¨
podman-system-connection β manage the destination(s) for Podman service(s) π
πΈ SYNOPSIS πΈ
podman system connection subcommand
π¦ DESCRIPTION π¦
So like, this command manages the destination(s) for Podman service(s). that's the whole vibe.
When you need to log in, the user gets prompted for the ssh login password or the key file passphrase as required. and yes, the ssh-agent is supported if it is running β so make sure it's up, bestie, or it's not gonna help you π
Podman manages the system connection by writing and reading the podman-connections.json file, which lives under $XDG_CONFIG_HOME/containers β or, if that env var isn't set, it defaults to $HOME/.config/containers. OR you can set the PODMAN_CONNECTIONS_CONF environment variable to a full file path, and podman will use that instead. slay, options β¨
π¨ real talk: this file is managed by the podman commands and should never be edited by users directly. no cap. if you want to manually configure the connections, useservice_destinationsincontainers.confinstead. π
and one more thing β if the ReadWrite column in the podman system connection list output is set to true, that connection is stored in the podman-connections.json file. if it's not true, it's stored in containers.conf, which means it can therefore not be edited with the podman system connection commands. iykyk π₯
π COMMANDS π
addβ record destination for the Podman service. man page:podman-system-connection-add(1)πdefaultβ set named destination as default for the Podman service. man page:podman-system-connection-default(1)βlistβ list the destination for the Podman service(s). man page:podman-system-connection-list(1)πremoveβ delete named destination. man page:podman-system-connection-remove(1)π§renameβ rename the destination for Podman service. man page:podman-system-connection-rename(1)π
π EXAMPLE π
list system connections:
$ podman system connection list
Name URI Identity Default ReadWrite
devl ssh://root@example.com/run/podman/podman.sock ~/.ssh/id_rsa true true
look at that output. immaculate. the Default and ReadWrite columns are both true, which is exactly the energy we're going for π
π SEE ALSO π
go read those too, bestie, they're the whole ecosystem π«Ά
π HISTORY π
June 2020, originally compiled by Jhon Honce (jhonce at redhat dot com). iconic of him honestly π
and that's a wrap!! this was podman-system-connection(1) from the General Commands Manual, dated back to June 2020 β mwah, no notes, periodt πβ¨π¦
π¦ where this page comes from
- alpine 3.24: podman-doc 5.8.9-r0 Β· Apache-2.0
- arch rolling: podman 6.1.4-1 Β· Apache-2.0
- centos-stream 10: podman 7:6.1.0-2.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- centos-stream 9: podman 6:5.8.5-2.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman 5:5.8.4-1.fc43
- fedora 43: podman 5:5.8.8-1.fc43
- fedora 43: podman 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman 5:5.8.7-1.fc44
- fedora 44: podman 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- nixos 26.05: podman 5.8.9
- nixpkgs unstable: podman 6.1.4
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- ubuntu resolute: podman 5.7.0+ds2-3build1 Β· Apache-2.0
- ubuntu stonking: podman 5.8.6+ds1-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms