Docker Host Info - Linux
2 Votes |
Description
Property Details
Properties
Containers
Period
1 hour
* Results in a true/false |

unique values of names of folders of folders "/var/lib/docker/containers"
Container Hostnames
Period
1 hour
* Results in a true/false |

unique values of (it as trimmed string) whose(it != "") of lines of files "hostname" of folders of folders "/var/lib/docker/containers"
Number of Running Containers
Period
1 hour
* Results in a true/false |

number of (it as boolean) whose(it) of values of keys "Running" of values of keys "State" of jsons of files "config.v2.json" of folders of folders "/var/lib/docker/containers"
Docker Version
Period
12 hours
* Results in a true/false |

unique values of maxima of versions of (packages "docker-ce" of it; packages "docker" of it; packages "docker-engine" of it; packages "docker.io" of it) whose(if exists properties whose(it as string contains "currently installed of ") then (currently installed of it) else TRUE) of (if exists properties whose(it as string contains "debianpackage:") then debianpackages else if exists properties whose(it as string contains "rpm:") then rpms else ERROR "The operators are not defined.")
Number of Containers
Period
15 minutes
* Results in a true/false |

number of folders of folders "/var/lib/docker/containers"
Relevance

unix of operating system
Used in 1 analsis | * Results in a true/false |

exists folders "/var/lib/docker/containers" OR ( exists (packages "docker-ce" of it; packages "docker" of it; packages "docker-engine" of it; packages "docker.io" of it) whose(if exists properties whose(it as string contains "currently installed of ") then (currently installed of it) else TRUE) of (if exists properties whose(it as string contains "debianpackage:") then debianpackages else if exists properties whose(it as string contains "rpm:") then rpms else ERROR "The operators are not defined.") )
Sharing
Social Media: |