Linking Container Registry
    • PDF

    Linking Container Registry

    • PDF

    Article Summary

    Available in VPC

    This guide explains how to link AI Forest to Container Registry in order to use user-created Docker images.

    AI Forest provides Docker images for deep learning solutions. However, it's difficult to reflect various user needs in real time. It also takes a long time to create new Docker images. If the user wants to keep using the Docker image that they were using before, then they can set up a linkage with the Container Registry product and submit DL apps to AI Forest. This guide describes how to upload a Docker image to Container Registry as an example.

    Upload Docker image to VM server

    Upload the Docker image you want to upload to the VM server in VPC.

    Create Container Registry

    You must have Container Registry created first in order to set up linkage with AI Forest. Refer to Container Registry Guide to create Container Registry.

    Create API authentication key

    To log in to Container Registry, you must create an API authentication key.
    The following describes how to create an API authentication key.

    1. Log in to the NAVER Cloud Platform portal.
    2. Click the My Page > Manage account > Manage authentication key menu.
    3. Click the [Create new API authentication key] button.
    4. Check the information for the created API authentication key.
      • The access key ID and secret key are used when linking Container Registry.

    Log in to registry

    Use the API authentication key and endpoint of the created registry to log in to the registry.

    • Public endpoint: <registry-name>.kr.ncr.ntruss.com
    • Private endpoint: <random-id>.kr.private-ncr.ntruss.com
    $ docker login -u <access-key-id> <registry-name>.kr.ncr.ntruss.com
    Password: <secret-key>
    Login Succeeded
    

    Upload Docker image

    You can upload (push) the Docker container image to the registry.
    The following example is a command to upload a container image called "docker_image" with the latest version tag to a registry called "test-reg".

    $ docker push test-reg.kr.ncr.ntruss.com/docker_image:latest
    

    Download Docker image

    You can download (pull) the Docker container image saved in the registry.
    The following example is a command to download the latest version of a container image called "docker_image" from a registry called "test-reg".

    $ docker pull test-reg.kr.ncr.ntruss.com/docker_image:latest
    
    Caution

    When using an external image, make sure to check if it is compatible with NVIDIA Docker in order to use GPU. Default images provided by AI Forest are configured to use NVIDIA Docker for using GPU. The Docker images must be compatible with NVIDIA Docker.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.