Override entrypoint when shell enabled in Docker.

Review: https://reviews.apache.org/r/25403
Add Docker pull to docker abstraction.

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