1podman-pod-inspect(1)()                                podman-pod-inspect(1)()
2
3
4

NAME

6       podman-pod-inspect - Displays information describing a pod
7
8

SYNOPSIS

10       podman pod inspect [options] pod ...
11
12

DESCRIPTION

14       Displays  configuration  and  state  information about a given pod.  It
15       also displays information about containers that belong to the pod.
16
17

OPTIONS

19   --format=format, -f
20       Change the default output format.  This can be of a supported type like
21       'json'  or  a  Go template.  Valid placeholders for the Go template are
22       listed below:
23
24
25       ┌──────────────────┬────────────────────────────────┐
26Placeholder       Description                    
27       ├──────────────────┼────────────────────────────────┤
28       │.ID               │ Pod   ID                       │
29       ├──────────────────┼────────────────────────────────┤
30       │.Name             │ Pod   name                     │
31       ├──────────────────┼────────────────────────────────┤
32       │.State            │ Pod   state                    │
33       ├──────────────────┼────────────────────────────────┤
34       │.Hostname         │ Pod   hostname                 │
35       ├──────────────────┼────────────────────────────────┤
36       │.Labels           │ Pod   labels                   │
37       ├──────────────────┼────────────────────────────────┤
38       │.Created          │ Time when the pod was created  │
39       ├──────────────────┼────────────────────────────────┤
40       │.CreateCgroup     │ Whether cgroup was created     │
41       ├──────────────────┼────────────────────────────────┤
42       │.CgroupParent     │ Pod   cgroup parent            │
43       ├──────────────────┼────────────────────────────────┤
44       │.CgroupPath       │ Pod   cgroup path              │
45       ├──────────────────┼────────────────────────────────┤
46       │.CreateInfra      │ Whether infrastructure created │
47       ├──────────────────┼────────────────────────────────┤
48       │.InfraContainerID │ Pod   infrastructure ID        │
49       ├──────────────────┼────────────────────────────────┤
50       │.SharedNamespaces │ Pod   shared namespaces        │
51       ├──────────────────┼────────────────────────────────┤
52       │.NumContainers    │ Number of  containers  in  the │
53       │                  │ pod                            │
54       ├──────────────────┼────────────────────────────────┤
55       │.Containers       │ Pod   containers               │
56       └──────────────────┴────────────────────────────────┘
57
58   --latest, -l
59       Instead  of  providing the pod name or ID, use the last created pod. If
60       you use methods other than Podman to run pods such as CRI-O,  the  last
61       started  pod could be from either of those methods. (This option is not
62       available with the remote Podman client, including Mac and Windows (ex‐
63       cluding WSL2) machines)
64
65

EXAMPLE

67              # podman pod inspect foobar
68              {
69
70                   "Id": "3513ca70583dd7ef2bac83331350f6b6c47d7b4e526c908e49d89ebf720e4693",
71                   "Name": "foobar",
72                   "Labels": {},
73                   "CgroupParent": "/libpod_parent",
74                   "CreateCgroup": true,
75                   "Created": "2018-08-08T11:15:18.823115347-05:00"
76                   "State": "created",
77                   "Hostname": "",
78                   "SharedNamespaces": [
79                        "uts",
80                        "ipc",
81                        "net"
82                   ]
83                   "CreateInfra": false,
84                   "InfraContainerID": "1020dd70583dd7ff2bac83331350f6b6e007de0d026c908e49d89ebf891d4699"
85                   "CgroupPath": ""
86                   "Containers": [
87                        {
88                             "id": "d53f8bf1e9730281264aac6e6586e327429f62c704abea4b6afb5d8a2b2c9f2c",
89                             "state": "configured"
90                        }
91                   ]
92              }
93
94
95

SEE ALSO

97       podman(1), podman-pod(1), podman-inspect(1)
98
99

HISTORY

101       August  2018,  Originally  compiled  by  Brent  Baude bbaude@redhat.com
102       ⟨mailto:bbaude@redhat.com⟩
103
104
105
106                                                       podman-pod-inspect(1)()
Impressum