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

A subset of one entry from GET /containers/json (the list endpoint). More...

#include <testcontainers/docker/ContainerSpec.hpp>

Public Attributes

std::string id
std::vector< std::string > names
 "/my-svc" style names
std::string image
std::string state
 "running" / "exited" / ...
std::map< std::string, std::string > labels
 container labels

Detailed Description

A subset of one entry from GET /containers/json (the list endpoint).

Member Data Documentation

◆ id

std::string testcontainers::ContainerSummary::id

◆ names

std::vector<std::string> testcontainers::ContainerSummary::names

"/my-svc" style names

◆ image

std::string testcontainers::ContainerSummary::image

◆ state

std::string testcontainers::ContainerSummary::state

"running" / "exited" / ...

◆ labels

std::map<std::string, std::string> testcontainers::ContainerSummary::labels

container labels