class_docstr: Container builder that uses local Docker daemon process.
class_docstr_tok: ["Container","builder","that","uses","local","Docker","daemon","process","."]
docstr: Publishes Docker image.
  
  Args:
      image_uri: String, the registry name and tag.
docstr_tok: ["Publishes","Docker","image",".","Args",":","image_uri",":","String",",","the","registry","name","and","tag","."]
code: def _publish_docker_image(self, image_uri):
      """Publishes Docker image.
  
      Args:
          image_uri: String, the registry name and tag.
      """
      logger.info("Publishing Docker image: %s", image_uri)
      pb_logs_generator = self.docker_client.push(
          image_uri, stream=True, decode=True
      )
      self._get_logs(pb_logs_generator, "publish", image_uri)
  
imports: import logging
  import os
  import sys
  import tarfile
  import tempfile
  import time
  import uuid
  import warnings
  from .None import gcp
  from .None import machine_config
  import docker
  from google.cloud import storage
  from google.cloud.exceptions import NotFound
  from googleapiclient import discovery
  from googleapiclient import errors
  import requests
  from ..utils import google_api_client
  from ..utils import tf_utils
label_desc: Use image node_id 3 for calling the LocalContainerBuilder obj's underlying member method code with example usage: obj._publish_docker_image(image_uri) without return types