Export and import Docker images

Export Docker images as TAR files, transfer them to your Kubernetes workers, and import them manually.

If your Kubernetes workers cannot pull from a private registry, you can export each of the required images as a TAR file, transfer the TAR file to each of your Kubernetes workers using a tool such as Ansible, Puppet, or Chef, and import the images on your workers.

  1. Export the Docker image to a TAR file.

    The following example exports the splunk/splunk-operator image:

    CODE
    docker image save splunk/splunk-operator:latest | gzip -c > splunk-operator.tar.gz
  2. Transfer the TAR file to each of your Kubernetes workers.
  3. Import the TAR file on each Kubernetes worker.
    CODE
    docker load -i splunk-operator.tar.gz