docs: def uninstall(self,
                    name: str,
                    force: bool = False,
                    noprune: bool = False
                    ) -> None:
          """
          Attempts to uninstall a given Docker image.
  
          Parameters:
              name: the name of the Docker image.
              force: a flag indicating whether or not an exception should be
                  thrown if the image associated with the given build
                  instructions is not installed. If `True`, no exception
                  will be thrown; if `False`, exception will be thrown.
              noprune: a flag indicating whether or not dangling image layers
                  should also be removed.
  
          Raises:
              docker.errors.ImageNotFound: if the image associated with the given
                  instructions can't be found.
          """
          try:
              self.__docker.images.remove(image=name,
                                          force=force,
                                          noprune=noprune)
          except docker.errors.ImageNotFound as e:
              if force:
                  return
              raise e