Pushing Image to the Repository Manually

  • Last update: 2024-07-22
  • Overview

    Version

    FineOps Version

    Functional Change

    V1.5.5

    /

    V1.16.0

    Allowed pushing a single image package quickly at the front end.

    Function Description

    FineDataLink-related image packages are not pre-installed in FineOps. After obtaining a single component image package from technical support personnel, you need to manually upload it to the repository.

    This document provides two methods to demonstrate how to upload a single image to the image repository.

    • Pushing images at the front-end page only supports FineOps of V1.16.0 and above versions. This method is simple and convenient.

    • Pushing images through commands at the terminal is only recommended for FineOps of V1.15.0 and earlier versions. This method requires you to have basic docker application skills.

    Method One: Pushing Image at the Front-end Page

    Obtaining Image Package

    • If you are a FineReport/FineBI paid user, contact the technical support personnel to obtain an image package. You can send an email to international@fanruan.com or click  at https://help.fanruan.com/fineops-en/.

    • If you are a FineDataLink user, contact the technical support personnel to obtain an image package.

    Uploading Image Package

    Upload the obtained image package to the /fanruan_xxx/ops/resources folder of the FineOps mounting directory.

    iconNote:
    You can view the location of the FineOps mounting directory by exporting the platform's deployment information.

    Pushing Image to Repository

    Log in to FineOps as the admin, choose Maintenance Center > Image Management, and click Load Image.

    You can load the image file from resources. After loading, the image file in resources will be deleted.

    Viewing Effect

    After the prompt "The image was loaded successfully." appears, you can view the pushed image package in Image Management. The admin can use this image for project deployment and upgrades.

    Pushing Image Through Terminal Commands

    iconNote:

    This method is applicable to V1.15.0 and earlier versions. If you are using V1.16.0 and above versions, see section "Method One: Pushing Images at the Front-end Page."

    Confirming Image Repository Address

    Purpose: Determine the repository address where you want to upload the image.

    Operation: Log in to FineOps as the admin, and choose Maintenance Center> Image Management > Setting to view the image repository address used by FineOps.

    The address used in this document: 192.168.101.58:5000.

    Confirming Repository Prefix

    Purpose: You need to confirm the prefix of a private repository. You will need the complete image tag when pushing the image.

    Operation: The method to confirm the repository prefix may vary depending on the specific image repository you are using. If you use a registry repository installed via finekey, the prefix is the same as the repository address.

    The repository prefix used in this document: 192.168.101.58:5000.

    Obtaining Image Package

    1. Obtain Image Package.

    • If you are a FineReport/FineBI paid user, contact the technical support personnel to obtain an image package. You can send an email to international@fanruan.com or click the icon at https://help.fanruan.com/fineops-en/.

    • If you are a FineDataLink user, contact the technical support personnel to obtain an image package.

    2. Upload the kafka.tar.gz image package to the server where the repository is located.

    The uploaded location in this document is: /home/finekey/resources/images.

    Loading Image

    Purpose: You need to use the docker load command to load the image package to the local docker engine.

    Command: docker load -i /path/to/image.tar

    Example: docker load -i /home/finekey/resources/images/kafka.tar.gz

    Tagging Image

    Purpose: You need to add a tag to the image to associate it with the correct repository address.

    Command: docker tag <Image ID><Repository prefix>/<Image name>:<Tag>

    Example: docker tag kafka:v20.0.0-3.4.0 192.168.101.58:5000/kafka:v20.0.0-3.4.0

    Pushing Image

    Purpose: You can push the image to the repository.

    Command: docker push <Repository prefix>/<Image name>:<Tag>

    Example: docker push 192.168.101.58:5000/kafka:v20.0.0-3.4.0

    Viewing Effect

    Log in to FineOps as the admin, choose Maintenance Center > Image Management, and then you can view the manually pushed image package just now.

    iconNote:

    If the image cannot be displayed properly after following the above steps, paid users can contact FanRuan technical support for assistance in updating version.json.

    To contact our technical support personnel, you can send an email to international@fanruan.com or click  at https://help.fanruan.com/fineops-en/.

    Attachment List


    Theme: Platform Management
    • Helpful
    • Not helpful
    • Only read