|
|
# Execute the APP "run" command
|
|
|
|
|
|
## Execute the Run command
|
|
|
```
|
|
|
docker run -t -v /home/<username>/.hydra/:/root/.hydra 560078195495.dkr.ecr.eu-west-1.amazonaws.com/hydra-debug hydra-debug debug-app-run [options] [flags]
|
|
|
```
|
|
|
where <username> is your current username
|
|
|
|
|
|
and the run command is called "debug-app-run" to be easily identified in the HWI apps list.
|
|
|
|
|
|
[options] can be:
|
|
|
'-n' or '--network-id'
|
|
|
This specifies the network ID to use in running the app
|
|
|
|
|
|
'-t' or '--timeout'
|
|
|
This specifies how log to sleep for.
|
|
|
The default value is 5
|
|
|
|
|
|
[flags] can be:
|
|
|
|
|
|
'--fail or 'fail'
|
|
|
If specified, it let the app fail to see, in order to see the reaction of HWI UI in case of it
|
|
|
|
|
|
'--heavy-load' or 'heavy_load'
|
|
|
If specified, it let the app run N heavy load processes on the host machine, where N is the number of exposed processor to the python machine, in order to see the reaction of HWI UI and of the orchestrator to the sudden and prolonged heavy load on the machine itself.
|
|
|
|