我要评分
获取效率
正确性
完整性
易理解

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
    

You can also use an image repository (for example, Docker Hub) to manage images. After an image is created, it is uploaded to the image repository. A 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.