MCPcopy Index your code
hub / github.com/devcontainers/cli / dockerCLI

Function dockerCLI

src/spec-shutdown/dockerUtils.ts:289–295  ·  view source on GitHub ↗
(params: DockerCLIParameters | PartialExecParameters | DockerResolverParameters, ...args: string[])

Source from the content-addressed store, hash-verified

287}
288
289export async function dockerCLI(params: DockerCLIParameters | PartialExecParameters | DockerResolverParameters, ...args: string[]) {
290 const partial = toExecParameters(params);
291 return runCommandNoPty({
292 ...partial,
293 args: (partial.args || []).concat(args),
294 });
295}
296
297export enum CLIVariant {
298 Docker = 'docker',

Callers 15

extendImageFunction · 0.90
getFeaturesBuildOptionsFunction · 0.90
isUsingSELinuxLabelsFunction · 0.90
updateRemoteUserUIDFunction · 0.90
buildAndExtendImageFunction · 0.90
startExistingContainerFunction · 0.90
checkDockerSupportForGPUFunction · 0.90
doBuildFunction · 0.90
listContainersFunction · 0.85
removeContainerFunction · 0.85

Calls 2

runCommandNoPtyFunction · 0.90
toExecParametersFunction · 0.85

Tested by

no test coverage detected