暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

CentOS Stream9 Docker可用源

韩公子的Linux大集市 2025-04-21
98
Docker 配置信息


以下是 /etc/docker/daemon.json
 文件的内容,展示了 Docker 镜像仓库的镜像源 和 NVIDIA 运行时配置


{     "registry-mirrors": [         "https://docker.m.daocloud.io/",         "https://huecker.io/",         "https://dockerhub.timeweb.cloud",         "https://noohub.ru/",         "https://dockerproxy.com",         "https://docker.mirrors.ustc.edu.cn",         "https://docker.nju.edu.cn",         "https://xx4bwyg2.mirror.aliyuncs.com",         "https://f1361db2.m.daocloud.io",         "https://registry.docker-cn.com",         "https://hub-mirror.c.163.com",         "https://0dj0t5fb.mirror.aliyuncs.com",         "https://6kx4zyno.mirror.aliyuncs.com",         "https://mirror.baidubce.com"     ],     "runtimes": {         "nvidia": {             "path": "nvidia-container-runtime",             "runtimeArgs": []         }     } } 


操作系统信息


以下是 /etc/os-release
 文件的内容,展示了 CentOS Stream 9 的详细信息:


NAME="CentOS Stream" VERSION="9" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="9" PLATFORM_ID="platform:el9" PRETTY_NAME="CentOS Stream 9" ANSI_COLOR="0;31" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:centos:centos:9" HOME_URL="https://centos.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9" REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream" 


关键配置说明


registry-mirrors
:配置了多个 Docker 镜像仓库的镜像源,用于加速 Docker 镜像的拉取速度。 runtimes
:配置了 NVIDIA 容器运行时,用于支持 GPU 加速的容器运行环境。 os-release
:展示了当前操作系统的详细信息,包括 CentOS Stream 9 的版本和支持信息。

提示:如果需要修改这些配置,请确保备份原始文件,并在修改后重启 Docker 服务以生效。


文章转载自韩公子的Linux大集市,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论