Tuned PR #8980

This is a small adjustment of the work done by @rhatdan and @tiborvass. It
suppresses redundant error messages and handles a case where docker is run with
a bad option without a command.

Fixes #8980 and closes #7887
We should really update this text - ping @j0hnst0n (not in this PR but pinging SJ for comment)