1podman-pod-inspect(1)       General Commands Manual      podman-pod-inspect(1)
2
3
4

NAME

6       podman-pod-inspect - Display 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, -f=format
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       │.BlkioDeviceReadBps  │ Block  I/O  Device  Read,   in │
29       │                     │ bytes/sec                      │
30       ├─────────────────────┼────────────────────────────────┤
31       │.BlkioDeviceWriteBps │ Block   I/O  Device  Read,  in │
32       │                     │ bytes/sec                      │
33       ├─────────────────────┼────────────────────────────────┤
34       │.BlkioWeight         │ Block I/O Weight               │
35       ├─────────────────────┼────────────────────────────────┤
36       │.BlkioWeightDevice   │ Block I/O Device Weight        │
37       ├─────────────────────┼────────────────────────────────┤
38       │.CgroupParent        │ Pod cgroup parent              │
39       ├─────────────────────┼────────────────────────────────┤
40       │.CgroupPath          │ Pod cgroup path                │
41       ├─────────────────────┼────────────────────────────────┤
42       │.Containers          │ Pod containers                 │
43       ├─────────────────────┼────────────────────────────────┤
44       │.CPUPeriod           │ CPU period                     │
45       ├─────────────────────┼────────────────────────────────┤
46       │.CPUQuota            │ CPU quota                      │
47       ├─────────────────────┼────────────────────────────────┤
48       │.CPUSetCPUs          │ CPU Set CPUs                   │
49       ├─────────────────────┼────────────────────────────────┤
50       │.CPUSetMems          │ CPU Set Mems                   │
51       ├─────────────────────┼────────────────────────────────┤
52       │.CPUShares           │ CPU Shares                     │
53       ├─────────────────────┼────────────────────────────────┤
54       │.CreateCgroup        │ Whether cgroup was created     │
55       ├─────────────────────┼────────────────────────────────┤
56       │.CreateCommand       │ Create command                 │
57       ├─────────────────────┼────────────────────────────────┤
58       │.Created             │ Time when the pod was created  │
59       ├─────────────────────┼────────────────────────────────┤
60       │.CreateInfra         │ Whether infrastructure created │
61       ├─────────────────────┼────────────────────────────────┤
62       │.Devices             │ Devices                        │
63       ├─────────────────────┼────────────────────────────────┤
64       │.ExitPolicy          │ Exit policy                    │
65       ├─────────────────────┼────────────────────────────────┤
66       │.Hostname            │ Pod hostname                   │
67       ├─────────────────────┼────────────────────────────────┤
68       │.ID                  │ Pod ID                         │
69       ├─────────────────────┼────────────────────────────────┤
70       │.InfraConfig ...     │ Infra config (contains further │
71       │                     │ fields)                        │
72       ├─────────────────────┼────────────────────────────────┤
73       │.InfraContainerID    │ Pod infrastructure ID          │
74       ├─────────────────────┼────────────────────────────────┤
75       │.InspectPodData ...  │ Nested  structure, for experts │
76       │                     │ only                           │
77       ├─────────────────────┼────────────────────────────────┤
78       │.Labels              │ Pod labels                     │
79       ├─────────────────────┼────────────────────────────────┤
80       │.LockNumber          │ Number  of  the  pod's  Libpod │
81       │                     │ lock                           │
82       ├─────────────────────┼────────────────────────────────┤
83       │.MemoryLimit         │ Memory limit, bytes            │
84       ├─────────────────────┼────────────────────────────────┤
85       │.MemorySwap          │ Memory swap limit, in bytes    │
86       ├─────────────────────┼────────────────────────────────┤
87       │.Mounts              │ Mounts                         │
88       ├─────────────────────┼────────────────────────────────┤
89       │.Name                │ Pod name                       │
90       ├─────────────────────┼────────────────────────────────┤
91       │.Namespace           │ Namespace                      │
92       ├─────────────────────┼────────────────────────────────┤
93       │.NumContainers       │ Number  of  containers  in the │
94       │                     │ pod                            │
95       ├─────────────────────┼────────────────────────────────┤
96       │.RestartPolicy       │ Restart policy of the pod      │
97       ├─────────────────────┼────────────────────────────────┤
98       │.SecurityOpts        │ Security options               │
99       ├─────────────────────┼────────────────────────────────┤
100       │.SharedNamespaces    │ Pod shared namespaces          │
101       ├─────────────────────┼────────────────────────────────┤
102       │.State               │ Pod state                      │
103       ├─────────────────────┼────────────────────────────────┤
104       │.VolumesFrom         │ Volumes from                   │
105       └─────────────────────┴────────────────────────────────┘
106
107   --latest, -l
108       Instead of providing the pod name or ID,  use  the  last  created  pod.
109       Note:  the  last  started  pod can be from other users of Podman on the
110       host machine.  (This option is not available  with  the  remote  Podman
111       client, including Mac and Windows (excluding WSL2) machines)
112
113

EXAMPLE

115              # podman pod inspect foobar
116              {
117
118                   "Id": "3513ca70583dd7ef2bac83331350f6b6c47d7b4e526c908e49d89ebf720e4693",
119                   "Name": "foobar",
120                   "Labels": {},
121                   "CgroupParent": "/libpod_parent",
122                   "CreateCgroup": true,
123                   "Created": "2018-08-08T11:15:18.823115347-05:00"
124                   "State": "created",
125                   "Hostname": "",
126                   "SharedNamespaces": [
127                        "uts",
128                        "ipc",
129                        "net"
130                   ]
131                   "CreateInfra": false,
132                   "InfraContainerID": "1020dd70583dd7ff2bac83331350f6b6e007de0d026c908e49d89ebf891d4699"
133                   "CgroupPath": ""
134                   "Containers": [
135                        {
136                             "id": "d53f8bf1e9730281264aac6e6586e327429f62c704abea4b6afb5d8a2b2c9f2c",
137                             "state": "configured"
138                        }
139                   ]
140              }
141
142
143

SEE ALSO

145       podman(1), podman-pod(1), podman-inspect(1)
146
147

HISTORY

149       August  2018,  Originally  compiled  by  Brent  Baude bbaude@redhat.com
150       ⟨mailto:bbaude@redhat.com⟩
151
152
153
154                                                         podman-pod-inspect(1)
Impressum