You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List all running pods with two containers sorted by pod ID.
129
+
List all pods with two containers sorted by pod ID.
130
130
```
131
131
$ podman pod ps --sort id --filter ctr-number=2
132
132
POD ID NAME STATUS CREATED INFRA ID # OF CONTAINERS
133
133
f4df8692e116 nifty_torvalds Created 10 minutes ago 331693bff40a 2
134
134
```
135
135
136
-
List all running pods with their container ids.
136
+
List all pods with their container ids.
137
137
```
138
138
$ podman pod ps --ctr-ids
139
139
POD ID NAME STATUS CREATED INFRA ID IDS
140
140
00dfd6fa02c0 jolly_goldstine Running 31 hours ago ba465ab0a3a4 ba465ab0a3a4
141
141
f4df8692e116 nifty_torvalds Created 10 minutes ago 331693bff40a 331693bff40a,8e428daeb89e
142
142
```
143
143
144
-
List all running pods with container ids without truncating IDs.
144
+
List all pods with container ids without truncating IDs.
145
145
```
146
146
$ podman pod ps --no-trunc --ctr-ids
147
147
POD ID NAME STATUS CREATED INFRA ID IDS
148
148
00dfd6fa02c0a2daaedfdf8fcecd06f22ad114d46d167d71777224735f701866 jolly_goldstine Running 31 hours ago ba465ab0a3a4e15e3539a1e79c32d1213a02b0989371e274f98e0f1ae9de7050 ba465ab0a3a4e15e3539a1e79c32d1213a02b0989371e274f98e0f1ae9de7050
149
149
f4df8692e116a3e6d1d62572644ed36ca475d933808cc3c93435c45aa139314b nifty_torvalds Created 10 minutes ago 331693bff40a926b6d52b184e116afd15497610c378d5d4c42945dd6e33b75b0 331693bff40a926b6d52b184e116afd15497610c378d5d4c42945dd6e33b75b0,8e428daeb89e69b71e7916a13accfb87d122889442b5c05c2d99cf94a3230e9d
150
150
```
151
151
152
-
List all running pods with container names.
152
+
List all pods with container names.
153
153
```
154
154
$ podman pod ps --ctr-names
155
155
POD ID NAME STATUS CREATED INFRA ID NAMES
156
156
314f4da82d74 hi Created 17 hours ago a9f2d2165675 jovial_jackson,hopeful_archimedes,vibrant_ptolemy,heuristic_jennings,keen_raman,hopeful_newton,mystifying_bose,silly_lalande,serene_lichterman ...
157
157
```
158
158
159
-
List all running pods with container IDs
159
+
List pods containing the specified container ID
160
160
```
161
161
$ podman pod ps --filter ctr-ids=aceb3b775797
162
162
POD ID NAME STATUS CREATED INFRA ID # OF CONTAINERS
@@ -178,17 +178,6 @@ POD ID NAME STATUS CREATED INFRA ID # OF CONTAIN
178
178
1e3424d7e9c0 db-cluster Degraded 4 minutes ago d6650a490b69 3
179
179
```
180
180
181
-
List all current pods
182
-
```
183
-
$ podman pod ps
184
-
POD ID NAME STATUS CREATED INFRA ID # OF CONTAINERS
185
-
95938982244d nettest Running 4 minutes ago a28d133e8c63 3
186
-
deee8956522e utility Running 4 minutes ago 6b730e3ac334 3
187
-
06c3a107763a maintenance Degraded 4 minutes ago 67e500cbb678 3
188
-
1e3424d7e9c0 db-cluster Degraded 4 minutes ago d6650a490b69 3
189
-
952330c7cff0 web-app Running 4 minutes ago b0f247c49669 3
0 commit comments