testcontainers
Version:
Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container
28 lines (27 loc) • 594 B
TypeScript
export type Info = {
node: NodeInfo;
containerRuntime: ContainerRuntimeInfo;
};
export type NodeInfo = {
version: string;
architecture: string;
platform: string;
};
export type ContainerRuntimeInfo = {
host: string;
hostIps: HostIp[];
remoteSocketPath: string;
indexServerAddress: string;
serverVersion: number;
operatingSystem: string;
operatingSystemType: string;
architecture: string;
cpus: number;
memory: number;
runtimes: string[];
labels: string[];
};
export type HostIp = {
address: string;
family: number;
};