Docker container ports.

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_ports

  • Linux
  • Mac OSX

Table schema

Name Type Description
id TEXT Container ID
type TEXT Protocol (tcp, udp)
port INTEGER Port inside the container
host_ip TEXT Host IP address on which public port is listening
host_port INTEGER Host port

Query examples

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