Remove deprecated -name option for docker

Change the deprecated option "-name" to "--name" for docker, to avoid warning:
```
Warning: '-name' is deprecated, it will be replaced by '--name' soon. See usage.
```