MCPcopy Index your code
hub / github.com/simstudioai/sim / pullImage

Function pullImage

packages/cli/src/index.ts:63–66  ·  view source on GitHub ↗
(image: string)

Source from the content-addressed store, hash-verified

61}
62
63async function pullImage(image: string): Promise<boolean> {
64 console.log(chalk.blue(`🔄 Pulling image ${image}...`))
65 return await runCommand(['docker', 'pull', image])
66}
67
68async function stopAndRemoveContainer(name: string): Promise<void> {
69 try {

Callers 1

mainFunction · 0.85

Calls 2

logMethod · 0.80
runCommandFunction · 0.70

Tested by

no test coverage detected