Modify docker pull to call inspect after pull

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