github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/docs/source/markdown/podman-version.1.md (about)

     1  % podman-version(1)
     2  
     3  ## NAME
     4  podman\-version - Display the Podman version information
     5  
     6  ## SYNOPSIS
     7  **podman version** [*options*]
     8  
     9  ## DESCRIPTION
    10  Shows the following information: Remote API Version, Version, Go Version, Git Commit, Build Time,
    11  OS, and Architecture.
    12  
    13  ## OPTIONS
    14  
    15  #### **--format**, **-f**=*format*
    16  
    17  Change output format to "json" or a Go template.
    18  
    19  ## Example
    20  
    21  A sample output of the `version` command:
    22  ```
    23  $ podman version
    24  Version:      2.0.0
    25  API Version:  1
    26  Go Version:   go1.14.2
    27  Git Commit:   4520664f63c3a7f9a80227715359e20069d95542
    28  Built:        Tue May 19 10:48:59 2020
    29  OS/Arch:      linux/amd64
    30  ```
    31  
    32  Filtering out only the version:
    33  ```
    34  $ podman version --format '{{.Client.Version}}'
    35  2.0.0
    36  ```
    37  
    38  #### **--help**, **-h**
    39  
    40  Print usage statement
    41  
    42  ## SEE ALSO
    43  **[podman(1)](podman.1.md)**
    44  
    45  ## HISTORY
    46  November 2018, Added --format flag by Tomas Tomecek <ttomecek@redhat.com>
    47  July 2017, Originally compiled by Urvashi Mohnani <umohnani@redhat.com>