.nh .TH podman-version 1 .SH NAME .PP podman-version - Display the Podman version information .SH SYNOPSIS .PP \fBpodman version\fP [\fIoptions\fP] .SH DESCRIPTION .PP Shows the following information: Remote API Version, Version, Go Version, Git Commit, Build Time, OS, and Architecture. .SH OPTIONS .SS \fB--format\fP, \fB-f\fP=\fIformat\fP .PP Change output format to "json" or a Go template. .TS allbox; l l l l . \fB\fC\fBPlaceholder\fP\fR \fB\fC\fBDescription\fP\fR \&.Client ... Version of local podman \&.Server ... Version of remote podman .TE .PP Each of the above fields branch deeper into further subfields such as .Version, .APIVersion, .GoVersion, and more. .SH Example .PP A sample output of the \fB\fCversion\fR command: .PP .RS .nf $ podman version Version: 2.0.0 API Version: 1 Go Version: go1.14.2 Git Commit: 4520664f63c3a7f9a80227715359e20069d95542 Built: Tue May 19 10:48:59 2020 OS/Arch: linux/amd64 .fi .RE .PP Filtering out only the version: .PP .RS .nf $ podman version --format '{{.Client.Version}}' 2.0.0 .fi .RE .SS \fB--help\fP, \fB-h\fP .PP Print usage statement .SH SEE ALSO .PP \fBpodman(1)\fP .SH HISTORY .PP November 2018, Added --format flag by Tomas Tomecek ttomecek@redhat.com \[la]mailto:ttomecek@redhat.com\[ra] July 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com \[la]mailto:umohnani@redhat.com\[ra]