1podman-version(1) General Commands Manual podman-version(1)
2
3
4
6 podman-version - Display the Podman version information
7
8
10 podman version [options]
11
12
14 Shows the following information: Remote API Version, Version, Go Ver‐
15 sion, Git Commit, Build Time, OS, and Architecture.
16
17
19 --format, -f=format
20 Change output format to "json" or a Go template.
21
22
23 ┌────────────┬──────────────────────────┐
24 │Placeholder │ Description │
25 ├────────────┼──────────────────────────┤
26 │.Client ... │ Version of local podman │
27 ├────────────┼──────────────────────────┤
28 │.Server ... │ Version of remote podman │
29 └────────────┴──────────────────────────┘
30
31 Each of the above fields branch deeper into further subfields such as
32 .Version, .APIVersion, .GoVersion, and more.
33
34
36 A sample output of the version command:
37
38
39 $ podman version
40 Version: 2.0.0
41 API Version: 1
42 Go Version: go1.14.2
43 Git Commit: 4520664f63c3a7f9a80227715359e20069d95542
44 Built: Tue May 19 10:48:59 2020
45 OS/Arch: linux/amd64
46
47
48
49 Filtering out only the version:
50
51
52 $ podman version --format '{{.Client.Version}}'
53 2.0.0
54
55
56
57 --help, -h
58 Print usage statement
59
60
62 podman(1)
63
64
66 November 2018, Added --format flag by Tomas Tomecek ttomecek@redhat.com
67 ⟨mailto:ttomecek@redhat.com⟩ July 2017, Originally compiled by Urvashi
68 Mohnani umohnani@redhat.com ⟨mailto:umohnani@redhat.com⟩
69
70
71
72 podman-version(1)