Docs syntax fix

the flags must come before the container name.
Merge pull request #8614 from ryanrdetzel/master

exec docs syntax fix