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

The subset of GET /images/{reference}/json we currently care about. More...

#include <testcontainers/docker/ContainerSpec.hpp>

Public Attributes

std::string id
 "sha256:..."
std::vector< std::string > repo_tags
 "redis:7.2"-style references (may be empty)
std::vector< std::string > repo_digests
 "redis@sha256:..." entries (may be empty)
std::string created
 RFC 3339 timestamp, verbatim.
std::string architecture
 "amd64" / "arm64" / ...
std::string os
 "linux" / "windows"
std::int64_t size = 0
 image size in bytes
std::map< std::string, std::string > labels
 Config.Labels (null -> empty).
std::vector< std::string > env
 Config.Env ("KEY=VALUE" entries).
std::vector< std::string > cmd
 Config.Cmd (null -> empty).
std::vector< std::string > entrypoint
 Config.Entrypoint (null -> empty).
std::vector< std::string > exposed_ports
 Config.ExposedPorts keys ("6379/tcp").
std::string working_dir
 Config.WorkingDir.
std::string user
 Config.User.

Detailed Description

The subset of GET /images/{reference}/json we currently care about.

Member Data Documentation

◆ id

std::string testcontainers::ImageInspect::id

"sha256:..."

◆ repo_tags

std::vector<std::string> testcontainers::ImageInspect::repo_tags

"redis:7.2"-style references (may be empty)

◆ repo_digests

std::vector<std::string> testcontainers::ImageInspect::repo_digests

"redis@sha256:..." entries (may be empty)

◆ created

std::string testcontainers::ImageInspect::created

RFC 3339 timestamp, verbatim.

◆ architecture

std::string testcontainers::ImageInspect::architecture

"amd64" / "arm64" / ...

◆ os

std::string testcontainers::ImageInspect::os

"linux" / "windows"

◆ size

std::int64_t testcontainers::ImageInspect::size = 0

image size in bytes

◆ labels

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

Config.Labels (null -> empty).

◆ env

std::vector<std::string> testcontainers::ImageInspect::env

Config.Env ("KEY=VALUE" entries).

◆ cmd

std::vector<std::string> testcontainers::ImageInspect::cmd

Config.Cmd (null -> empty).

◆ entrypoint

std::vector<std::string> testcontainers::ImageInspect::entrypoint

Config.Entrypoint (null -> empty).

◆ exposed_ports

std::vector<std::string> testcontainers::ImageInspect::exposed_ports

Config.ExposedPorts keys ("6379/tcp").

◆ working_dir

std::string testcontainers::ImageInspect::working_dir

Config.WorkingDir.

◆ user

std::string testcontainers::ImageInspect::user

Config.User.