Runner Types
Host Runner
Executes commands on the local machine using the shell.Configuration
Characteristics
- Uses
sh -cfor command execution - Inherits environment from Osmedeus process
- No isolation between steps
- Fastest execution
Docker Runner
Executes commands inside Docker containers.Module-Level Configuration
Runner Config Options
Execution Modes
Ephemeral (default): Each step runsdocker run --rm
docker exec
Per-Step Docker (remote-bash)
Use Docker for specific steps without module-level runner:SSH Runner
Executes commands on remote machines via SSH.Module-Level Configuration
Runner Config Options
Per-Step SSH (remote-bash)
Use SSH for specific steps:File Transfer
Copy files from remote to local:Runner Interface
All runners implement this interface:Lifecycle
Choosing a Runner
Best Practices
Docker
-
Use specific image tags
-
Mount only needed volumes
-
Use persistent mode for many steps
SSH
-
Use key authentication
-
Parameterize host details
-
Check remote tool availability
remote-bash
-
Use for hybrid workflows
- Local file preparation
- Remote heavy scanning
- Local result processing
-
Transfer results back
Next Steps
- Step Types - Using remote-bash
- Deployment - Distributed mode
- Extending Runners - Custom runners
