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 215abd8 commit 898bbb2Copy full SHA for 898bbb2
packages/testcontainers/src/utils/test-helper.ts
@@ -80,8 +80,7 @@ export const getVolumeNames = async (): Promise<string[]> => {
80
};
81
82
export const composeContainerName = async (serviceName: string, index = 1): Promise<string> => {
83
- const client = await getContainerRuntimeClient();
84
- return client.info.compose?.version.startsWith("1.") ? `${serviceName}_${index}` : `${serviceName}-${index}`;
+ return `${serviceName}-${index}`;
85
86
87
export const waitForDockerEvent = async (eventStream: Readable, eventName: string, times = 1) => {
0 commit comments