code: def update_image(self, container_name, image_name):
          
          code, container = self.get_container(container_name)
          if code != httplib.OK:
              self.logger.error("Container %s is not exists. error code %s, error message %s", container_name, code,
                                container)
              return False
  
          _, old_image_name, _ = utils.parse_image_name(container.image)
          repository, name, version = utils.parse_image_name(image_name)
          if not repository or repository.lower() != DOCKER_NEG:
              self.logger.error("You image %s must have a 'docker.neg/' prefix string", image_name)
              return False
  
          if not repo.image_exists(name, tag=version):
              self.logger.error("You image %s must be location in docker.neg repository.", image_name)
              return False
  
          if old_image_name.lower() != name.lower():
              self.logger.error("You image %s must be same with container's Image.", image_name, container.image)
              return False
  
          code, result = self.update(container_name, tag=version)
          if code != httplib.OK:
              self.logger.error("Update container %s with image failure, code %s, result %s", container_name, code,
                                result)
              return False
  
          return True
docs: update a container's image,
          :param container_name: `class`:`str`, container name
          :param image_name: `class`:`str`, the full image name, like alpine:3.3
          :return: `class`:`bool`, True if success, otherwise False.