docs: Update `docker exec` examples

Signed-off-by: Fabio Rehm <fgrehm@gmail.com>
Merge pull request #8375 from fgrehm/patch-2

docs: Update `docker exec` examples