自定义镜像说明

OnethingAI

发布于:2025-06-12

一、基础框架镜像

下面是平台的基础镜像,如果需要基于平台的镜像打包自定义镜像,可以使用下面的镜像。

pytorch 环境

hub-region-07.onethingai.com/base/ubuntu-18.04_cuda-10.2_cudnn-8_py-3.10_conda-23.5.2_torch-1.12.1:v0.1.2
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.7.1_cudnn-8_py-3.10_conda-23.5.2_torch-2.0.1:v0.1.2
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.7.1_cudnn-8_py-3.8_conda-23.5.2_torch-2.0.1:v0.1.2
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.8.0_cudnn-8_py-3.8_conda-23.5.2_torch-2.0.1:v0.1.2
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.8.0_cudnn-8_py-3.10_conda-23.5.2_torch-2.0.1:v0.1.2
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-12.1.1_cudnn-8_py-3.8_conda-23.5.2_torch-2.0.1:v0.1.2
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-12.1.1_cudnn-8_py-3.10_conda-23.5.2_torch-2.0.1:v0.1.2
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.8.0_cudnn-8_py-3.10_conda-23.5.2_torch-2.2.0:latest
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-12.1.1_cudnn-8_py-3.10_conda-23.5.2_torch-2.2.0:latest
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-12.1.1_cudnn-8_py-3.10_conda-23.5.2_torch-2.3.1:v0.0.1
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-12.1.1_cudnn-8_py-3.10_conda-23.5.2_torch-2.4.0:latest
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-12.4.1_cudnn-9_py-3.10_conda-23.5.2_torch-2.4.0:v0.0.2

Miniconda 环境

hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.7.1_cudnn-8_py-3.8_conda-py38_23.5.2-0:v0.1.3
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.7.1_cudnn-8_py-3.10_conda-py310_23.5.2-0:v0.1.3
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.8.0_cudnn-8_py-3.8_conda-py38_23.5.2-0:v0.1.3
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.8.0_cudnn-8_py-3.10_conda-py310_23.5.2-0:v0.1.3
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-12.1.1_cudnn-8_py-3.8_conda-py38_23.5.2-0:v0.1.3
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-12.1.1_cudnn-8_py-3.10_conda-py310_23.5.2-0:v0.1.3

TensorFlow 环境

hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.8.0_cudnn-8_py-3.10_conda-23.5.2_tf-2.12.0:v0.1.2
hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.8.0_cudnn-8_py-3.8_conda-23.5.2_tf-2.12.0:v0.1.2

Tensorrt 环境

hub-region-07.onethingai.com/base/ubuntu-22.04_cuda-11.8.0_cudnn-8_py-3.10_conda-23.5.2_tensorrt-8.6.1:v0.1.2

二、推送镜像

进入弹性部署->自定义镜像页面下,点击【推送镜像】按钮,获取推送信息

1. 首先登陆远程仓库

plain docker login --username=e5188399a8672b4eff27bc8b69d9980e hub-region-07.onethingai.com

2. 定义镜像Tag

plain docker tag 338031bed271 hub-region-07.onethingai.com/u_3ea/comfyui:v0.0.1

3. 推送镜像

plain docker push hub-region-07.onethingai.com/u_3ea/comfyui:v0.0.1

三、功能说明

1、自定义镜像不支持在容器内执行shutdown命令来实现实例关机。

2、自定义镜像的webshell只在镜像内部存在bash才可使用。

3、自定义镜像的的ssh只在镜像内部存在ssh才可使用,平台会默认代理用户的22端口。也即,用户如果想使用ssh,不能修改ssh的端口配置。

提交反馈