testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
Loading...
Searching...
No Matches
testcontainers::PortBinding Struct Reference

A single published port binding from a container inspect. More...

#include <testcontainers/docker/ContainerSpec.hpp>

Public Attributes

std::string host_ip
 "0.0.0.0" / "::"
std::uint16_t host_port = 0
 host-side port

Detailed Description

A single published port binding from a container inspect.

Member Data Documentation

◆ host_ip

std::string testcontainers::PortBinding::host_ip

"0.0.0.0" / "::"

◆ host_port

std::uint16_t testcontainers::PortBinding::host_port = 0

host-side port