Rate This Document
Findability
Accuracy
Completeness
Readability

Importing the Image

  1. Upload an image file.

    Use an SFTP tool to copy the mymysql_centos8-mysql-arm_8.0.19.tar file to other required nodes (for example, the three compute nodes in the K8s cluster in this document).

  2. Run the following command on the nodes to import the image file to the local image repository:
    1
    docker load < mymysql_centos8-mysql-arm_8.0.19.tar
    

Another method of image management is to use the image repository (for example, Docker Hub). After an image is created, it is uploaded to the image repository. The server that requires the image pulls the image from the image repository. This method simplifies image management. For details, see the usage of docker login and docker push.