adding regex support to the ancestor ps filter function

Signed-off-by: Leonardo Rossetti <lrossett@redhat.com>
This commit is contained in:
Leonardo Rossetti
2022-10-14 17:46:53 -03:00
parent 45fea91a61
commit 6c7ae378c3
3 changed files with 16 additions and 4 deletions

View File

@ -52,7 +52,7 @@ Valid filters are listed below:
| label | [Key] or [Key=Value] Label assigned to a container |
| exited | [Int] Container's exit code |
| status | [Status] Container's status: 'created', 'exited', 'paused', 'running', 'unknown' |
| ancestor | [ImageName] Image or descendant used to create container |
| ancestor | [ImageName] Image or descendant used to create container (accepts regex) |
| before | [ID] or [Name] Containers created before this container |
| since | [ID] or [Name] Containers created since this container |
| volume | [VolumeName] or [MountpointDestination] Volume mounted in container |