MCPcopy Create free account
hub / github.com/vercel/vercel / uniqueContainerName

Function uniqueContainerName

packages/container/src/dev.ts:330–333  ·  view source on GitHub ↗
(serviceName: string)

Source from the content-addressed store, hash-verified

328}
329
330function uniqueContainerName(serviceName: string): string {
331 const safe = serviceName.toLowerCase().replace(/[^a-z0-9-_.]/g, '-');
332 return `vercel-dev-${safe || 'service'}-${process.pid}-${Date.now().toString(36)}`;
333}
334
335/**
336 * Verify the Docker daemon is installed and reachable before doing any build

Callers 1

startContainerFunction · 0.85

Calls 2

replaceMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected