Refactored MockDockerContainerizer.