Docker container mounts.

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_container_mounts

  • Linux
  • Mac OSX

Table schema

Name Type Description
id TEXT Container ID
type TEXT Type of mount (bind, volume)
name TEXT Optional mount name
source TEXT Source path on host
destination TEXT Destination path inside container
driver TEXT Driver providing the mount
mode TEXT Mount options (rw, ro)
rw INTEGER 1 if read/write. 0 otherwise
propagation TEXT Mount propagation

Query examples

select * from docker_container_mounts
select * from docker_container_mounts where id = '1234567890abcdef'
select * from docker_container_mounts where id = '11b2399e1426d906e62a0c357650e363426d6c56dbe2f35cbaa9b452250e3355'