Skip to content

[request] testcontainers-cpp/0.1.0 #30599

Description

@cppudge

Package Name/Version

testcontainers-cpp/0.1.0

Webpage

https://github.com/cppudge/testcontainers-cpp

Source code

https://github.com/cppudge/testcontainers-cpp

Description of the library/tool

Native C++ implementation of Testcontainers: throwaway Docker containers for integration tests, driven directly over the Docker Engine HTTP API — no docker CLI dependency and no wrapper around another language's implementation. There is currently no Testcontainers implementation on ConanCenter.

  • C++20 static library for Linux, Windows and macOS. First-class Windows support: Docker Desktop named-pipe transport and real Windows containers (CI runs the integration suite in both engine modes).
  • Container lifecycle with RAII teardown plus the Ryuk reaper for crash-safe cleanup; wait strategies, exec, copy to/from container, networks, volumes, build-from-Dockerfile, Docker Compose, registry auth including credential helpers, container reuse, host-port exposure.
  • All dependencies are already on ConanCenter: boost (header-only Beast/Asio usage), nlohmann_json, libarchive, plus optional openssl/libssh2 behind the tls / host_port_forwarding options.
  • Licensed MIT OR Apache-2.0. First release v0.1.0 (2026-07-10).

A CCI-shaped recipe is already prepared and verified locally on gcc/clang/msvc (static and shared on Linux, static on Windows with a clean ConanInvalidConfiguration for shared, test_package runs without Docker): https://github.com/cppudge/testcontainers-cpp/tree/main/packaging/conan-center. I am the author and will submit the recipe PR myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions