MCPcopy Create free account
hub / github.com/cloudflare/computer / dockerExec

Function dockerExec

script/computerd-fuse-flush.mjs:106–109  ·  view source on GitHub ↗
(cid, ...cmd)

Source from the content-addressed store, hash-verified

104}
105
106async function dockerExec(cid, ...cmd) {
107 const { stdout, stderr } = await execFileP("docker", ["exec", cid, ...cmd]);
108 return { stdout, stderr };
109}
110
111async function killContainer(cid) {
112 if (KEEP) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected