UiPath Documentation
automation-suite
2023.4
false
Linux 版 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

配置外部 Docker 注册表

重要提示:

Automation Suite 当前只能连接到由公共证书(例如,由 ACR、ECR 等云提供程序提供的公共证书)签名的 Docker 注册表。我们仍在努力为由私有授权主机签名的 Docker 注册表提供支持。

您只能在新安装的 Automation Suite 中选择外部 Docker 注册表。当前不支持从内部 Docker 注册表迁移到外部 Docker 注册表。

词汇表​

OCI compliant registry - A registry implementation that meets the Open Container Initiative specifications. Formerly known as “Docker registry.” There are some widely used implementations, such as Azure Container Registry from Azure and Elastic Container Registry from AWS. In addition, there are self-hosted options such as the former container registry, now found under the Distributions repository.

Artifact - Under the OCI definitions, any image manifest or helm chart manifest hosted in an OCI compliant registry.

离线所需的必备程序​

  • Docker 和 Helm
  • as-images.txt
  • as-helm-charts.txt
  • mirror-registry.sh

安装 Docker 和 Helm

您必须确保在计划将 Automation Suite 容器映像和 Helm 图表上传到外部 Docker 注册表的计算机上安装 Docker 和 Helm。

  • 要下载 Docker 二进制文件,请参阅官方文档。

  • 要下载 Helm 二进制文件,请参阅官方文档。

  • To authenticate to the Docker registry, see the official documentation. Alternatively, you can use the following commands by replacing the sample credentials with your actual registry credentials:

    docker login my.registry.io:443 --username "admin" --password "secret"
    docker login my.registry.io:443 --username "admin" --password "secret"
    

下载 as-images.txt

To download as-images.txt, see Downloading installation bundles.

下载 as-helm-charts.txt

To download as-helm-charts.txt, see Downloading installation bundles.

下载 mirror-registry.sh

To download the mirror-registry.sh script, see Downloading the installation packages.

将 Automation Suite 映像上传到 Docker 注册表​

mirror-registry.sh 脚本需要目标为源注册表(默认为 registry.uipath.com)和目标注册表的出站连接。

命令行参数环境变量描述
--images-manifestIMAGES_MANIFEST(可选)映像清单文件的路径。
--helm-charts-manifestHELM_CHARTS_MANIFEST(可选)图表清单文件的路径。
--target-registry-urlTARGET_REGISTRY_URL(必填)传递目标注册表的 URL。
--source-registry-urlSOURCE_REGISTRY_URL(可选)传递源注册表的 URL;默认为 registry.uipath.com。
# command line flags style
./mirror-registry.sh --target-registry-url my.registry.io:443 --source-registry-url registry.uipath.com --images-manifest /home/myuser/as-images.txt --helm-charts-manifest /home/myuser/as-helm-charts.txt
# command line flags style
./mirror-registry.sh --target-registry-url my.registry.io:443 --source-registry-url registry.uipath.com --images-manifest /home/myuser/as-images.txt --helm-charts-manifest /home/myuser/as-helm-charts.txt

将 Computer Vision 映像上传到外部 Docker 注册表​

备注:

仅当您使用 Computer Vision 时,才需要执行这些步骤。在使用产品之前,您可以随时执行这些步骤。

要将可选的 Computer Vision 映像上传到外部 Docker 注册表,请执行以下步骤:

  1. 从托管于 registry.uipath.com 的 UiPath 注册表中拉取所需的 Computer Vision 映像:

    docker pull <uipath_registry_server>/<image_name>
    docker pull <uipath_registry_server>/<image_name>
    

    Example: The UiPath registry server is registry.uipath.com; if the image name for Computer Vision is aicenter/cv2304:23.4.5.6, run:

    docker pull registry.uipath.com/aicenter/cv2304:23.4.5.6
    docker pull registry.uipath.com/aicenter/cv2304:23.4.5.6
    
  2. 根据您的 Docker 注册表名称重命名映像主机。

    docker tag <uipath_registry_server>/<image_name> <your_registry_server>/<image_name>
    docker tag <uipath_registry_server>/<image_name> <your_registry_server>/<image_name>
    

    Example: If your registry name is registory.mycompany.com, run:

    docker tag registry.uipath.com/aicenter/cv2304:23.4.5.6 registory.mycompany.com/aicenter/cv2304:23.4.5.6
    docker tag registry.uipath.com/aicenter/cv2304:23.4.5.6 registory.mycompany.com/aicenter/cv2304:23.4.5.6
    
  3. 将映像推送到外部 Docker 注册表。

    docker push <your_registry_server>/<image_name>
    docker push <your_registry_server>/<image_name>
    

    示例:

    docker push registory.mycompany.com/aicenter/cv2304:23.4.5.6
    docker push registory.mycompany.com/aicenter/cv2304:23.4.5.6
    

以下图像可用于 Computer Vision 模型:

  • aicenter/python36cv:v21.10.0-2
  • aicenter/python36cvv3:23.4.0-rc19
  • aicenter/cv2304:23.4.5.6

将 Document Understanding 映像上传到外部 Docker 注册表​

备注:

仅当您使用 Document Understanding 时,才需要执行这些步骤。在使用产品之前,您可以随时执行这些步骤。

To upload the optional Document Understanding images to your external Docker registry, take the steps in the Document Understanding documentation.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新