mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00

Alias podman --context -> podman --connection podman context use -> podman system connection default podman context rm -> podman system connection rm podman context create -> podman system connection add podman context ls ->podman system connection ls podman context inspect ->podman system connection ls --json (For specified connections) Podman context is a hidden command, but can be used for existing scripts that assume Docker under the covers. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
1.6 KiB
1.6 KiB
% podman-system-connection-list 1
NAME
podman-system-connection-list - List the destination for the Podman service(s)
SYNOPSIS
podman system connection list [options]
podman system connection ls [options]
DESCRIPTION
List ssh destination(s) for podman service(s).
OPTIONS
--format, -f=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 |
---|---|
.Name | Connection Name/Identifier |
.Identity | Path to file containing SSH identity |
.URI | URI to podman service. Valid schemes are ssh://[user@]host[:port]Unix domain socket[?secure=True], unix://Unix domain socket, and tcp://localhost[:port] |
.Default | Indicates whether connection is the default |
--quiet, -q
Only show connection names
EXAMPLE
$ podman system connection list
Name URI Identity Default
devl ssh://root@example.com:/run/podman/podman.sock ~/.ssh/id_rsa True
devl ssh://user@example.com:/run/user/1000/podman/podman.sock ~/.ssh/id_rsa False
SEE ALSO
podman(1), podman-system(1), podman-system-connection(1)
HISTORY
July 2020, Originally compiled by Jhon Honce (jhonce at redhat dot com)