8.2 How to push an AI model image that is saved as a tar file ?

    How to push an AI model image that is saved as a tar file ?

    1. Install docker and start Docker Desktop. (When Docker Desktop is started, there should be a GUI that resemble the following image )

    2. Open the terminal (command prompt)

    • MacOS
      • https://support.apple.com/guide/terminal/apd5265185d-f365-44cb-8b09-71a064a42125/mac
    • Windows

    1. Press the "Windows key + R" on your keyboard to open the Run dialog box.

    2. Type "cmd" in the text box and press Enter. This will open the command prompt.

    Note: There are also other terminal applications you can use in Windows, such as PowerShell or Windows Terminal.

    3. Go to the folder where the tar file is located at using the cd command

        cd /path/to/folder

    4. Load AI model image from the tar file using the docker load command:

        docker load -i TAR_FILENAME

    When it's loaded successfully, your output should resemble the following:

    5. You are good to push the AI model image to aggregator.

    Taiwan AI Labs (AILabs.tw) Copyright © 2023Powered by Bludit