mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
11 lines
316 B
YAML
11 lines
316 B
YAML
|
name: docker_container_ports
|
||
|
examples: >-
|
||
|
Identify the ports exposed at the host level and see which containers they
|
||
|
redirect traffic to.
|
||
|
|
||
|
```
|
||
|
|
||
|
SELECT dc.name, dp.type, dp.port, dp.host_ip, dp.host_port FROM docker_container_ports dp JOIN docker_containers dc ON dp.id=dc.id WHERE dp.host_port !='0';
|
||
|
|
||
|
```
|