2017-05-05 16:53:12 +00:00
|
|
|
table_name("docker_container_ports")
|
|
|
|
description("Docker container ports.")
|
|
|
|
schema([
|
2019-12-13 01:45:15 +00:00
|
|
|
Column("id", TEXT, "Container ID", additional=True),
|
2017-05-05 16:53:12 +00:00
|
|
|
Column("type", TEXT, "Protocol (tcp, udp)"),
|
|
|
|
Column("port", INTEGER, "Port inside the container"),
|
|
|
|
Column("host_ip", TEXT, "Host IP address on which public port is listening"),
|
|
|
|
Column("host_port", INTEGER, "Host port")
|
|
|
|
])
|
|
|
|
implementation("applications/docker@genContainerPorts")
|
|
|
|
examples([
|
|
|
|
"select * from docker_container_ports",
|
|
|
|
"select * from docker_container_ports where id = '1234567890abcdef'",
|
|
|
|
"select * from docker_container_ports where id = '11b2399e1426d906e62a0c357650e363426d6c56dbe2f35cbaa9b452250e3355'"
|
2019-12-13 01:45:15 +00:00
|
|
|
])
|