add exec to the commands list

This PR adds the command `exec` to the list of docker commands. This new command was introduced by #8062.