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 $ podman version
39 Version: 2.0.0
40 API Version: 1
41 Go Version: go1.14.2
42 Git Commit: 4520664f63c3a7f9a80227715359e20069d95542
43 Built: Tue May 19 10:48:59 2020
44 OS/Arch: linux/amd64
45
46
47
48 Filtering out only the version:
49
50 $ podman version --format '{{.Client.Version}}'
51 2.0.0
52
53
54
55 --help, -h
56 Print usage statement
57
58
60 podman(1)
61
62
64 November 2018, Added --format flag by Tomas Tomecek ttomecek@redhat.com
65 ⟨mailto:ttomecek@redhat.com⟩ July 2017, Originally compiled by Urvashi
66 Mohnani umohnani@redhat.com ⟨mailto:umohnani@redhat.com⟩
67
68
69
70 podman-version(1)