#Host node execution options

1 messages · Page 1 of 1 (latest)

lone dragon
#

We have an agent-controlled upgrade flow where Docker Compose and Git are available only on the Windows host, while the application CLI runs inside a Docker container via docker exec.

We are choosing between:

  1. a Python driver inside the container that somehow asks the host to run Compose,
  2. direct agent orchestration of every command through host exec,
  3. a dedicated host-side PowerShell runner invoked by the agent.

Is option 3 the recommended architecture?

Specific validation needed:

  • Can a PowerShell script safely run ~10 docker exec <container> <cli> commands in parallel?
  • Can it write outputs and a manifest atomically to a host/container shared workspace?
  • Is there any reason to prefer a container-side Python driver with host command hand-off over a host-side deterministic runner?
sinful troutBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution