code: def docker_pull(image):
      '''Pulls an image'''
      args = ['docker', 'pull', image]
  
      # If this fails, the default docker stdout/stderr looks good to the user.
      ret = call(args)
      if ret != 0:
          raise DockerError('Failed to pull image "{}"'.format(image)f docker_pull(image):
      '''Pulls an image'''
      args = ['docker', 'pull', image]
  
      # If this fails, the default docker stdout/stderr looks good to the user.
      ret = call(args)
      if ret != 0:
          raise DockerError('Failed to pull image "{}"'.format(image))
docs: Pulls an image