pub async fn handle_list(
socket: impl AsRef<Path>,
container_id: Option<String>,
json: bool,
use_color: bool,
) -> Result<()>Expand description
Displays a combined listing of static iptables NAT rules and daemon-managed state.
Reads live iptables rules via iptables-save (filtering to natmap-commented
rules only) and queries the daemon at GET /mappings for managed DNAT, SNAT,
hairpin, and Docker mappings.