Modifed execute cli to run docker images.

Review: https://reviews.apache.org/r/24808