Alibaba Cloud Linux 3支持运行Ubuntu容器的说明

更新时间:2025-03-14 07:49:26

AI领域有众多基于Ubuntu构建并集成了各类机器学习组件的AI基础容器镜像。同时,Alibaba Cloud Linux 3对阿里云上的多项云产品(例如ACK)进行了深度定制和优化。本文介绍了以Alibaba Cloud Linux 3作为Host OS(宿主机操作系统),运行基于Ubuntu构建的AI容器的相关镜像说明。

兼容性说明

  • 从生产实践来看,未观测到使用Alibaba Cloud Linux 3作为Host OS运行基于Ubuntu容器构建的AI镜像会有问题。

  • 从技术角度的理论分析来看,这种使用方式仍可能存在潜在的兼容性风险。

    Alibaba Cloud Linux 3系统的内核版本(v5.10.x)与Ubuntu的内核版本(例如Ubuntu 22.04版本为v5.15.x,Ubuntu 24.04版本为v6.8.x)之间的差异可能引发兼容性风险。

    可能出现的问题包括但不限于以下几个方面。

    • 系统调用

      由于UbuntuAlibaba Cloud Linux 3系统在内核版本上存在差异,因此在系统调用支持的数量及特定系统调用功能的支持上也有不同之处。如果应用程序需要利用这些存在差异的功能,可能导致兼容性问题。

    • 系统组件

      由于UbuntuAlibaba Cloud Linux 3系统内核在iptablesnftablesfirewall等系统组件上所提供的功能集合存在差异,若应用程序需要利用这些存在差异的功能,可能导致兼容性问题。

    • 系统配置

      UbuntuAlibaba Cloud Linux 3系统对sysctl/proc/sys等系统接口的配置上存在差异。如果应用程序依赖于某些特定接口的特定配置,可能会导致兼容性问题。

镜像列表

Alibaba Cloud Linux 3发布了一系列经过系统化测试验证的,基于Ubuntu构建的AI容器镜像,并提供免费的维护与技术支持,以协助您在云端部署与AI相关的业务,从而降低潜在的兼容性风险。更多相关镜像的信息,请参见Alibaba Cloud AI Containers镜像列表

BaseOS镜像

镜像名称

版本信息

镜像地址

镜像描述

镜像名称

版本信息

镜像地址

镜像描述

Ubuntu BaseOS镜像

Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/base:ubuntu22.04

Ubuntu 22.04基础容器镜像。

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/base:ubuntu22.04-py310

Ubuntu 22.04基础容器镜像,提供了Python 3.10.13。

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/base:ubuntu22.04-py310-optimised

Ubuntu 22.04基础优化容器镜像,提供了优化版Python 3.10.13。

Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/base:ubuntu24.04

Ubuntu 24.04基础容器镜像。

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/base:ubuntu24.04-py312

Ubuntu 24.04基础容器镜像,提供了Python 3.12.7。

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/base:ubuntu24.04-py312-optimised

Ubuntu 24.04基础优化容器镜像,提供了优化版Python 3.12.7。

基础镜像

镜像名称

CPU/GPU

版本信息

镜像地址

镜像描述

镜像名称

CPU/GPU

版本信息

镜像地址

镜像描述

cuda-profiling

GPU

ecos:1.2.2

Python:3.12.7

CUDA:12.8.0

BaseOS:Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda-profiling:1.2.2-cuda12.8.0-runtime-ubuntu24.04

基于Ubuntu 24.04镜像构建,提供了GPU Profiling性能探测和分析工具ecos、Python 3.12.7CUDA 12.8.0运行时组件,具备CUDA应用程序性能分析能力。

ecos:1.2.2

Python:3.12.7

cuDNN:9.7.1.26

CUDA:12.8.0

BaseOS:Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda-profiling:1.2.2-cuda12.8.0-runtime-cudnn9-ubuntu24.04

基于Ubuntu 24.04镜像构建,提供了GPU Profiling性能探测和分析工具ecos、Python 3.12.7、cuDNN 9.7.1.26CUDA 12.8.0运行时组件,具备CUDA应用程序性能分析能力。

ecos:1.2.2

Python:3.12.7

CUDA:12.8.0

BaseOS:Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda-profiling:1.2.2-cuda12.8.0-devel-ubuntu24.04

基于Ubuntu 24.04镜像构建,提供了GPU Profiling性能探测和分析工具ecos、Python 3.12.7CUDA 12.8.0开发组件,具备CUDA应用程序性能分析能力。

ecos:1.2.2

Python:3.12.7

cuDNN:9.7.1.26

CUDA:12.8.0

BaseOS:Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda-profiling:1.2.2-cuda12.8.0-devel-cudnn9-ubuntu24.04

基于Ubuntu 24.04镜像构建,提供了GPU Profiling性能探测和分析工具ecos、Python 3.12.7、CUDA 12.8.0开发组件和cuDNN 9.7.1.26,具备CUDA应用程序性能分析能力。

ecos:1.2.2

Python:3.12.7

CUDA:12.6.3

BaseOS:Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda-profiling:1.2.2-cuda12.6.3-runtime-ubuntu24.04

基于Ubuntu 24.04镜像构建,提供了GPU Profiling性能探测和分析工具ecos、Python 3.12.7CUDA 12.6.3运行时组件,具备CUDA应用程序性能分析能力。

ecos:1.2.2

Python:3.12.7

cuDNN:9.6.0.74

CUDA:12.6.3

BaseOS:Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda-profiling:1.2.2-cuda12.6.3-runtime-cudnn9-ubuntu24.04

基于Ubuntu 24.04镜像构建,提供了GPU Profiling性能探测和分析工具ecos、Python 3.12.7、CUDA 12.6.3运行时组件和cuDNN 9.6.0.74,具备CUDA应用程序性能分析能力。

ecos:1.2.2

Python:3.12.7

CUDA:12.6.3

BaseOS:Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda-profiling:1.2.2-cuda12.6.3-devel-ubuntu24.04

基于Ubuntu 24.04镜像构建,提供了GPU Profiling性能探测和分析工具ecos、Python 3.12.7CUDA 12.6.3开发组件,具备CUDA应用程序性能分析能力。

ecos:1.2.2

Python:3.12.7

cuDNN:9.6.0.74

CUDA:12.6.3

BaseOS:Ubuntu 24.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda-profiling:1.2.2-cuda12.6.3-devel-cudnn9-ubuntu24.04

基于Ubuntu 24.04镜像构建,提供了GPU Profiling性能探测和分析工具ecos、Python 3.12.7、cuDNN 9.6.0.74CUDA 12.6.3开发组件,具备CUDA应用程序性能分析能力。

cuda-base

GPU

Python:3.10.12

CUDA:12.6.0

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda:12.6.0-base-ubuntu22.04

基于Ubuntu 22.04镜像构建,提供了Python 3.10.12CUDA 12.6.0运行时(cudart)。

cuda-runtime

GPU

Python:3.10.12

CUDA:12.6.0

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda:12.6.0-runtime-ubuntu22.04

基于Ubuntu 22.04镜像构建,提供了Python 3.10.12CUDA 12.6.0运行时组件。

cuda-devel

GPU

Python:3.10.12

CUDA:12.6.0

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda:12.6.0-devel-ubuntu22.04

基于Ubuntu 22.04镜像构建,提供了Python 3.10.12、CUDA 12.6.0运行时组件和开发组件。

cuda-cudnn-runtime

GPU

Python:3.10.12

cuDNN:9.3.0.75

CUDA:12.6.0

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda:12.6.0-runtime-cudnn9-ubuntu22.04

基于Ubuntu 22.04镜像构建,提供了Python 3.10.12、cuDNN 9.3.0.75CUDA 12.6.0运行时组件。

cuda-cudnn-devel

GPU

Python:3.10.12

cuDNN:9.3.0.75

CUDA:12.6.0

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/cuda:12.6.0-devel-cudnn9-ubuntu22.04

基于Ubuntu 22.04镜像构建,提供了Python 3.10.12、cuDNN 9.3.0.75、CUDA 12.6.0运行时组件和开发组件。

ROCM

GPU

Python:3.10.13

ROCM:6.3

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/rocm:6.3-py310-ubuntu22.04-enhanced

基于Ubuntu 22.04镜像构建,提供了Python 3.10.13ROCM SDK 6.3。

Python:3.10.13

ROCM:6.2.4

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/rocm:6.2.4-py310-ubuntu22.04-enhanced

基于Ubuntu 22.04镜像构建,提供了Python 3.10.13ROCM SDK 6.2.4。

框架镜像

镜像名称

GPU/CPU

版本信息

镜像地址

镜像描述

镜像名称

GPU/CPU

版本信息

镜像地址

镜像描述

pytorch-ubuntu

CPU

PyTorch:2.3.0.3.post1

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.3.0.3-ubuntu22.04-enhanced

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.3.0.3Python 3.10.12PyTorch CPU镜像。

PyTorch:2.3.0

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.3.0-ubuntu22.04

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.3.0Python 3.10.12PyTorch CPU镜像。

PyTorch:2.2.0.1

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.2.0.1-22.04

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.2.0.1Python 3.10.12PyTorch CPU镜像。

pytorch-ubuntu

GPU

PyTorch:2.3.0.3.post1

cuDNN:8.9.2.26

NCCL:2.20.5

CUDA:12.1.1

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.3.0.3-cuda12.1.1-ubuntu22.04-enhanced

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.3.0.3、cuDNN 8.9.2.26、NCCL 2.20.5、CUDA 12.1.1Python 3.10.12PyTorch GPU镜像。

PyTorch:2.3.0.3.post1

cuDNN:8.7.0.84

NCCL:2.20.5

CUDA:11.8.0

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.3.0.3-cuda11.8.0-ubuntu22.04-enhanced

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.3.0.3、cuDNN 8.7.0.84、NCCL 2.20.5、CUDA 11.8.0Python 3.10.12PyTorch GPU镜像。

PyTorch:2.3.0

cuDNN:8.9.2.26

NCCL:2.20.5

CUDA:12.1.1

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.3.0-cuda12.1.1-ubuntu22.04

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.3.0、cuDNN 8.9.2.26、NCCL 2.20.5、CUDA 12.1.1Python 3.10.12PyTorch GPU镜像。

PyTorch:2.3.0

cuDNN:8.7.0.84

NCCL:2.20.5

CUDA:11.8.0

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.3.0-cuda11.8.0-ubuntu22.04

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.3.0、cuDNN 8.7.0.84、NCCL 2.20.5、CUDA 11.8.0Python 3.10.12PyTorch GPU镜像。

PyTorch:2.2.0.1

CUDA:12.1.1

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.2.0.1-22.04-cu121

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.2.0.1、CUDA 12.1.1Python 3.10.12PyTorch GPU镜像。

PyTorch:2.2.0.1

CUDA:11.8.0

Python:3.10.12

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/pytorch-ubuntu:2.2.0.1-22.04-cu118

基于Ubuntu 22.04镜像构建,提供了PyTorch 2.2.0.1、CUDA 11.8.0Python 3.10.12PyTorch GPU镜像。

开发镜像

镜像名称

CPU/GPU

版本信息

镜像地址

镜像描述

镜像名称

CPU/GPU

版本信息

镜像地址

镜像描述

fluid-dynamic-mount

N/A

libfuse:3.11.0

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/fluid-dynamic-mount:1.0.1-base-ubuntu22.04

Fluid动态挂载镜像,提供包含JindoFS客户端的Fuse镜像,方便用户在Kubernetes集群内轻松部署并动态挂载存储资源。

N/A

jindosdk:6.3.1

libfuse:3.11.0

BaseOS:Ubuntu 22.04

ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/fluid-dynamic-mount:1.0.1-jindo-fuse-ubuntu22.04

Fluid动态挂载镜像提供了包含JindoFS客户端的Fuse镜像,以便用户能够在Kubernetes集群内便捷地部署并动态挂载存储资源。

相关文档

  • 本页导读 (1)
  • 兼容性说明
  • 镜像列表
  • BaseOS镜像
  • 基础镜像
  • 框架镜像
  • 开发镜像
  • 相关文档
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等