Standard query library: add query for running docker containers (#3137)

Query: Get running docker containers
This commit is contained in:
Omereshone Kelvin 2021-12-01 15:42:56 +01:00 committed by GitHub
parent e64a88d8b1
commit 2302606ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -516,3 +516,13 @@ spec:
query: select * from shimcache
purpose: Informational
contributors: puffyCid
---
apiVersion: v1
kind: query
spec:
name: Get running docker containers
platforms: macOS, Linux
description: Returns the running Docker containers.
query: SELECT id, name, image, image_id, state, status FROM docker_containers WHERE state = "running";
purpose: Informational
contributors: DominusKelvin