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_containers¶
Docker containers 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_containers
- Linux
- Mac OSX
Table schema¶
Name | Type | Description |
---|---|---|
id | TEXT | Container ID |
name | TEXT | Container name |
image | TEXT | Docker image (name) used to launch this container |
image_id | TEXT | Docker image ID |
command | TEXT | Command with arguments |
created | BIGINT | Time of creation as UNIX time |
state | TEXT | Container state (created, restarting, running, removing, paused, exited, dead) |
status | TEXT | Container status information |
Query examples¶
select * from docker_containers where id = '11b2399e1426d906e62a0c357650e363426d6c56dbe2f35cbaa9b452250e3355'
select * from docker_containers where name = '/hello'