add warning for deprecatd flags

```
$ docker run -rm busybox echo "Hello World"
Warning: '-rm' is deprecated, it will be removed soon. See usage.
Hello World
$
```