We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce6a032 commit 6eb047cCopy full SHA for 6eb047c
packages/testcontainers/src/container-runtime/clients/client.ts
@@ -123,6 +123,7 @@ async function initStrategy(strategy: ContainerRuntimeClientStrategy): Promise<C
123
cpus: dockerodeInfo.NCPU,
124
memory: dockerodeInfo.MemTotal,
125
runtimes: dockerodeInfo.Runtimes ? Object.keys(dockerodeInfo.Runtimes) : [],
126
+ labels: dockerodeInfo.Labels ? dockerodeInfo.Labels : [],
127
};
128
129
const composeInfo: ComposeInfo = composeClient.info;
packages/testcontainers/src/container-runtime/clients/types.ts
@@ -22,6 +22,7 @@ export type ContainerRuntimeInfo = {
22
cpus: number;
23
memory: number;
24
runtimes: string[];
25
+ labels: string[];
26
27
28
export type ComposeInfo =
0 commit comments