# 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

* [blade create docker](blade_create_docker)     - Execute a docker experiment
* [blade create docker script delay](blade_create_docker_script_delay)     - Script executed delay
* [blade create docker script exit](blade_create_docker_script_exit)     - Exit script

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