Attention
Zercurity has been acquired by JumpCloud.
This documentation will no longer be maintained or updated. You can read more about the acquisition, or signup to JumpCloud today.
docker_info¶
Docker system information.
Platform support¶
Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: docker_info
- Linux
- Mac OSX
Table schema¶
Name | Type | Description |
---|---|---|
id | TEXT | Docker system ID |
containers | INTEGER | Total number of containers |
containers_running | INTEGER | Number of containers currently running |
containers_paused | INTEGER | Number of containers in paused state |
containers_stopped | INTEGER | Number of containers in stopped state |
images | INTEGER | Number of images |
storage_driver | TEXT | Storage driver |
memory_limit | INTEGER | 1 if memory limit support is enabled. 0 otherwise |
swap_limit | INTEGER | 1 if swap limit support is enabled. 0 otherwise |
kernel_memory | INTEGER | 1 if kernel memory limit support is enabled. 0 otherwise |
cpu_cfs_period | INTEGER | 1 if CPU Completely Fair Scheduler (CFS) period support is enabled. 0 otherwise |
cpu_cfs_quota | INTEGER | 1 if CPU Completely Fair Scheduler (CFS) quota support is enabled. 0 otherwise |
cpu_shares | INTEGER | 1 if CPU share weighting support is enabled. 0 otherwise |
cpu_set | INTEGER | 1 if CPU set selection support is enabled. 0 otherwise |
ipv4_forwarding | INTEGER | 1 if IPv4 forwarding is enabled. 0 otherwise |
bridge_nf_iptables | INTEGER | 1 if bridge netfilter iptables is enabled. 0 otherwise |
bridge_nf_ip6tables | INTEGER | 1 if bridge netfilter ip6tables is enabled. 0 otherwise |
oom_kill_disable | INTEGER | 1 if Out-of-memory kill is disabled. 0 otherwise |
logging_driver | TEXT | Logging driver |
cgroup_driver | TEXT | Control groups driver |
kernel_version | TEXT | Kernel version |
os | TEXT | Operating system |
os_type | TEXT | Operating system type |
architecture | TEXT | Hardware architecture |
cpus | INTEGER | Number of CPUs |
memory | BIGINT | Total memory |
http_proxy | TEXT | HTTP proxy |
https_proxy | TEXT | HTTPS proxy |
no_proxy | TEXT | Comma-separated list of domain extensions proxy should not be used for |
name | TEXT | Name of the docker host |
server_version | TEXT | Server version |
root_dir | TEXT | Docker root directory |
Query examples¶
select * from docker_info