got docker api to pull the latest image. Needs configuration