mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-08T00:23:39Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1efed7155b
commit
a79e433ccc
1 file changed
+4
-6
@@ -426,14 +426,12 @@ export class ContainerWorkerPool extends EventEmitter {
|
||||
// Add image and entrypoint to keep container running
|
||||
args.push(this.config.image, 'tail', '-f', '/dev/null');
|
||||
|
||||
// Create the container
|
||||
const output = execSync(`docker ${args.join(' ')}`, {
|
||||
encoding: 'utf-8',
|
||||
stdio: 'pipe',
|
||||
}).trim();
|
||||
// Create the container (async)
|
||||
const { stdout } = await execAsync(`docker ${args.join(' ')}`, { timeout: 60000 });
|
||||
const containerId = stdout.trim();
|
||||
|
||||
containerInfo.state = 'ready';
|
||||
this.emit('containerCreated', { id, name, containerId: output });
|
||||
this.emit('containerCreated', { id, name, containerId });
|
||||
|
||||
return containerInfo;
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user