blade create docker script

Script chaos experiment

Synopsis

Script chaos experiment

blade create docker script [flags]

Examples

blade create script delay --time 2000 --file xxx.sh --function-name start

blade create script exit --file xxx.sh --function-name offline --exit-message "error" --exit-code 2

Options

      --file string            Script file full path (required)
      --function-name string   function name in shell (required)
  -h, --help                   help for script

Options inherited from parent commands

      --container string   container id or name (required)
  -d, --debug              Set client to DEBUG mode

SEE ALSO

Auto generated by spf13/cobra on 11-Jul-2019

Last updated

Was this helpful?