891 mark command as optional for docker run

This PR makes the changes needed for #891.

It also updates the documentation to reflect the change.