alternative to `exit` command: `CTRL-D`

Docker-DCO-1.1-Signed-off-by: Eike Herzbach <eike@herzbach.net> (github: SvenDowideit)

All I did was squash the commits

Closes #7783