<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>K8S on </title>
    <link>https://cshblog.xyz/tags/k8s/</link>
    <description>Recent content in K8S on </description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC 4.0&lt;/a&gt;</copyright>
    <lastBuildDate>Fri, 05 Jun 2026 09:45:08 +0800</lastBuildDate>
    <atom:link href="https://cshblog.xyz/tags/k8s/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>K8s</title>
      <link>https://cshblog.xyz/articles/k8s/</link>
      <pubDate>Fri, 05 Jun 2026 09:45:08 +0800</pubDate>
      <guid>https://cshblog.xyz/articles/k8s/</guid>
      <description>系统架构： Red Hat Enterprise Linux 7.9 1.下载rpm镜像 1.1 Docker 官方源 被禁用 使用阿里云源&#xA;echo -e &amp;#34;[docker-ce-stable]\nname=Docker CE Stable - x86_64\nbaseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/7/\$basearch/stable\nenabled=1\ngpgcheck=1\ngpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg&amp;#34; &amp;gt; /etc/yum.repos.d/docker-ce.repo 1.2 下载docker-rpm包&#xA;yum install --downloadonly --downloaddir=/home/docker-rpms -y docker-ce docker-ce-cli containerd.io 这里红帽系统会出现依赖地狱，为什么会这样？ docker-ce 本身依赖一些系统底层的网络和文件系统组件（例如 container-selinux、libcgroup、fuse-overlayfs 等）。而这些基础组件不在 Docker 的源里，它们属于红帽官方的 extras 或 base 基础软件源。&#xA;因为你的系统提示了 This system is not registered&amp;hellip;（这台红帽系统没有注册订阅，无法使用红帽官方源），导致 yum 找不到这些最基础的依赖包。 解决：借用 阿里云的CentOS 7 基础源&#xA;# 添加 CentOS 7 基础源 (提供 libcgroup 等) echo -e &amp;#34;[base]\nname=CentOS-7 - Base\nbaseurl=https://mirrors.aliyun.com/centos/7/os/\$basearch/\nenabled=1\ngpgcheck=0&amp;#34; &amp;gt; /etc/yum.repos.d/centos-base.repo # 添加 CentOS 7 扩展源 (提供 container-selinux, fuse-overlayfs, slirp4netns 等) echo -e &amp;#34;[extras]\nname=CentOS-7 - Extras\nbaseurl=https://mirrors.</description>
    </item>
  </channel>
</rss>
