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

     1  % podman-info(1)
     2  
     3  ## NAME
     4  podman\-info - Displays Podman related system information
     5  
     6  ## SYNOPSIS
     7  **podman info** [*options*]
     8  
     9  **podman system info** [*options*]
    10  
    11  ## DESCRIPTION
    12  
    13  Displays information pertinent to the host, current storage stats, configured container registries, and build of podman.
    14  
    15  
    16  ## OPTIONS
    17  
    18  #### **--debug**, **-D**
    19  
    20  Show additional information
    21  
    22  #### **--format**=*format*, **-f**
    23  
    24  Change output format to "json" or a Go template.
    25  
    26  
    27  ## EXAMPLE
    28  
    29  Run podman info with plain text response:
    30  ```
    31  $ podman info
    32  host:
    33    arch: amd64
    34    buildahVersion: 1.23.0
    35    cgroupControllers: []
    36    cgroupManager: systemd
    37    cgroupVersion: v2
    38    conmon:
    39      package: conmon-2.0.29-2.fc34.x86_64
    40      path: /usr/bin/conmon
    41      version: 'conmon version 2.0.29, commit: '
    42   cpu_utilization:
    43     idle_percent: 96.84
    44     system_percent: 0.71
    45     user_percent: 2.45
    46    cpus: 8
    47    distribution:
    48      distribution: fedora
    49      variant: workstation
    50      version: "34"
    51    eventLogger: journald
    52    hostname: localhost.localdomain
    53    idMappings:
    54      gidmap:
    55      - container_id: 0
    56        host_id: 3267
    57        size: 1
    58      - container_id: 1
    59        host_id: 100000
    60        size: 65536
    61      uidmap:
    62      - container_id: 0
    63        host_id: 3267
    64        size: 1
    65      - container_id: 1
    66        host_id: 100000
    67        size: 65536
    68    kernel: 5.13.13-200.fc34.x86_64
    69    linkmode: dynamic
    70    logDriver: journald
    71    memFree: 1833385984
    72    memTotal: 16401895424
    73    ociRuntime:
    74      name: crun
    75      package: crun-1.0-1.fc34.x86_64
    76      path: /usr/bin/crun
    77      version: |-
    78        crun version 1.0
    79        commit: 139dc6971e2f1d931af520188763e984d6cdfbf8
    80        spec: 1.0.0
    81        +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
    82    os: linux
    83    remoteSocket:
    84      path: /run/user/3267/podman/podman.sock
    85    security:
    86      apparmorEnabled: false
    87      capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    88      rootless: true
    89      seccompEnabled: true
    90      seccompProfilePath: /usr/share/containers/seccomp.json
    91      selinuxEnabled: true
    92    serviceIsRemote: false
    93    slirp4netns:
    94      executable: /bin/slirp4netns
    95      package: slirp4netns-1.1.12-2.fc34.x86_64
    96      version: |-
    97        slirp4netns version 1.1.12
    98        commit: 7a104a101aa3278a2152351a082a6df71f57c9a3
    99        libslirp: 4.4.0
   100        SLIRP_CONFIG_VERSION_MAX: 3
   101        libseccomp: 2.5.0
   102    swapFree: 15687475200
   103    swapTotal: 16886259712
   104    uptime: 47h 15m 9.91s (Approximately 1.96 days)
   105  plugins:
   106    log:
   107    - k8s-file
   108    - none
   109    - journald
   110    network:
   111    - bridge
   112    - macvlan
   113    volume:
   114    - local
   115  registries:
   116    search:
   117    - registry.fedoraproject.org
   118    - registry.access.redhat.com
   119    - docker.io
   120    - quay.io
   121  store:
   122    configFile: /home/dwalsh/.config/containers/storage.conf
   123    containerStore:
   124      number: 9
   125      paused: 0
   126      running: 1
   127      stopped: 8
   128    graphDriverName: overlay
   129    graphOptions: {}
   130    graphRoot: /home/dwalsh/.local/share/containers/storage
   131    graphRootAllocated: 510389125120
   132    graphRootUsed: 129170714624
   133    graphStatus:
   134      Backing Filesystem: extfs
   135      Native Overlay Diff: "true"
   136      Supports d_type: "true"
   137      Using metacopy: "false"
   138    imageCopyTmpDir: /home/dwalsh/.local/share/containers/storage/tmp
   139    imageStore:
   140      number: 5
   141    runRoot: /run/user/3267/containers
   142    volumePath: /home/dwalsh/.local/share/containers/storage/volumes
   143  version:
   144    APIVersion: 4.0.0
   145    Built: 1631648722
   146    BuiltTime: Tue Sep 14 15:45:22 2021
   147    GitCommit: 23677f92dd83e96d2bc8f0acb611865fb8b1a56d
   148    GoVersion: go1.16.6
   149    OsArch: linux/amd64
   150    Version: 4.0.0
   151  ```
   152  Run podman info with JSON formatted response:
   153  ```
   154  $ podman info --format json
   155  {
   156    "host": {
   157      "arch": "amd64",
   158      "buildahVersion": "1.23.0",
   159      "cgroupManager": "systemd",
   160      "cgroupVersion": "v2",
   161      "cgroupControllers": [],
   162      "conmon": {
   163        "package": "conmon-2.0.29-2.fc34.x86_64",
   164        "path": "/usr/bin/conmon",
   165        "version": "conmon version 2.0.29, commit: "
   166      },
   167      "cpus": 8,
   168      "distribution": {
   169        "distribution": "fedora",
   170        "version": "34"
   171      },
   172      "eventLogger": "journald",
   173      "hostname": "localhost.localdomain",
   174      "idMappings": {
   175        "gidmap": [
   176  	{
   177  	  "container_id": 0,
   178  	  "host_id": 3267,
   179  	  "size": 1
   180  	},
   181  	{
   182  	  "container_id": 1,
   183  	  "host_id": 100000,
   184  	  "size": 65536
   185  	}
   186        ],
   187        "uidmap": [
   188  	{
   189  	  "container_id": 0,
   190  	  "host_id": 3267,
   191  	  "size": 1
   192  	},
   193  	{
   194  	  "container_id": 1,
   195  	  "host_id": 100000,
   196  	  "size": 65536
   197  	}
   198        ]
   199      },
   200      "kernel": "5.13.13-200.fc34.x86_64",
   201      "logDriver": "journald",
   202      "memFree": 1785753600,
   203      "memTotal": 16401895424,
   204      "ociRuntime": {
   205        "name": "crun",
   206        "package": "crun-1.0-1.fc34.x86_64",
   207        "path": "/usr/bin/crun",
   208        "version": "crun version 1.0\ncommit: 139dc6971e2f1d931af520188763e984d6cdfbf8\nspec: 1.0.0\n+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL"
   209      },
   210      "os": "linux",
   211      "remoteSocket": {
   212        "path": "/run/user/3267/podman/podman.sock"
   213      },
   214      "serviceIsRemote": false,
   215      "security": {
   216        "apparmorEnabled": false,
   217        "capabilities": "CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT",
   218        "rootless": true,
   219        "seccompEnabled": true,
   220        "seccompProfilePath": "/usr/share/containers/seccomp.json",
   221        "selinuxEnabled": true
   222      },
   223      "slirp4netns": {
   224        "executable": "/bin/slirp4netns",
   225        "package": "slirp4netns-1.1.12-2.fc34.x86_64",
   226        "version": "slirp4netns version 1.1.12\ncommit: 7a104a101aa3278a2152351a082a6df71f57c9a3\nlibslirp: 4.4.0\nSLIRP_CONFIG_VERSION_MAX: 3\nlibseccomp: 2.5.0"
   227      },
   228      "swapFree": 15687475200,
   229      "swapTotal": 16886259712,
   230      "uptime": "47h 17m 29.75s (Approximately 1.96 days)",
   231      "linkmode": "dynamic"
   232    },
   233    "store": {
   234      "configFile": "/home/dwalsh/.config/containers/storage.conf",
   235      "containerStore": {
   236        "number": 9,
   237        "paused": 0,
   238        "running": 1,
   239        "stopped": 8
   240      },
   241      "graphDriverName": "overlay",
   242      "graphOptions": {
   243  
   244      },
   245      "graphRoot": "/home/dwalsh/.local/share/containers/storage",
   246      "graphStatus": {
   247        "Backing Filesystem": "extfs",
   248        "Native Overlay Diff": "true",
   249        "Supports d_type": "true",
   250        "Using metacopy": "false"
   251      },
   252      "imageCopyTmpDir": "/home/dwalsh/.local/share/containers/storage/tmp",
   253      "imageStore": {
   254        "number": 5
   255      },
   256      "runRoot": "/run/user/3267/containers",
   257      "volumePath": "/home/dwalsh/.local/share/containers/storage/volumes"
   258    },
   259    "registries": {
   260      "search": [
   261    "registry.fedoraproject.org",
   262    "registry.access.redhat.com",
   263    "docker.io",
   264    "quay.io"
   265  ]
   266    },
   267    "plugins": {
   268      "volume": [
   269        "local"
   270      ],
   271      "network": [
   272        "bridge",
   273        "macvlan"
   274      ],
   275      "log": [
   276        "k8s-file",
   277        "none",
   278        "journald"
   279      ]
   280    },
   281    "version": {
   282      "APIVersion": "4.0.0",
   283      "Version": "4.0.0",
   284      "GoVersion": "go1.16.6",
   285      "GitCommit": "23677f92dd83e96d2bc8f0acb611865fb8b1a56d",
   286      "BuiltTime": "Tue Sep 14 15:45:22 2021",
   287      "Built": 1631648722,
   288      "OsArch": "linux/amd64"
   289    }
   290  }
   291  ```
   292  Run podman info and only get the registries information.
   293  ```
   294  $ podman info --format={{".Registries"}}
   295  map[registries:[docker.io quay.io registry.fedoraproject.org registry.access.redhat.com]]
   296  ```
   297  
   298  ## SEE ALSO
   299  **[podman(1)](podman.1.md)**, **[containers-registries.conf(5)](https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md)**, **[containers-storage.conf(5)](https://github.com/containers/storage/blob/main/docs/containers-storage.conf.5.md)**