Refactor in order to test docker-cm bin. Fix the 'command' property which was ignored for 'run'.