尧图网站建设 尧图网络
  • 首页
  • 关于我们
  • 服务项目
  • 案例展示
  • 建站流程
  • 资讯中心
  • 联系我们
首页/资讯中心/详情

containerd怎么离线安装

containerd怎么离线安装
📅 发布时间:2026/6/19 17:45:58

参考
https://github.com/containerd/containerd/blob/main/docs/getting-started.md
假如主机没有网络或者yum apt源无法安装containerd可以使用离线安装方式

  1. 环境查看
    系统环境
$ cat /etc/redhat-release 
Rocky Linux release 10.1 (Red Quartz)
$ uname -a
Linux iZ7xvg439r071687uibrilZ 6.12.0-55.41.1.el10_0.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 31 14:20:11 UTC 2025 x86_64 GNU/Linux
  1. 下载安装
    下载离线包
    下载地址:https://github.com/containeimage
    本次下载
    image
    放置在目录
# 目录
/usr/local
# 解压出可执行文件在bin目录
$ tar Cxzvf /usr/local containerd-1.6.2-linux-amd64.tar.gz
bin/
bin/containerd-shim-runc-v2
bin/containerd-shim
bin/ctr
bin/containerd-shim-runc-v1
bin/containerd
bin/containerd-stress

设置systemctl
下载地址: https://raw.githubusercontent.com/containerd/containerd/main/containerd.service

# cat /usr/lib/systemd/system/containerd.service
# Copyright The containerd Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.[Unit]
Description=containerd container runtime
Documentation=https://containerd.io
After=network.target dbus.service[Service]
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/containerdType=notify
Delegate=yes
KillMode=process
Restart=always
RestartSec=5# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNPROC=infinity
LimitCORE=infinity# Comment TasksMax if your systemd version does not supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
OOMScoreAdjust=-999[Install]
WantedBy=multi-user.target

启动

# systemctl daemon-reload
# systemctl enable containerd
# systemctl start containerd

相关新闻

  • WebUploader分块上传在JSP中的加密传输步骤
  • 湖南省张家界市设计公司权威评测排行榜:6大维度打分,5星企业全解析 - 苏木2025
  • 湖北省随州市自建房设计公司排行榜出炉!权威评测 + 真实案例,建房选对不踩坑 - 苏木2025

最新新闻

  • 2026青岛钻石回收盘点|透明估价+上门变现优质机构全测评 - 薛定谔的梨花猫
  • 2026 常州黄金回收店铺排行榜,靠谱渠道推荐,收的顶稳居榜单榜首 - 奢侈品回收测评
  • 告别抢票焦虑:双端智能抢票系统让你轻松锁定心仪演出
  • Hide Mock Location:终极Android位置隐私保护解决方案
  • 重庆2026闲置奢包回收测评:迪奥古驰Prada变现定价商家优选指南 - 名奢变现站
  • 机器学习模型上线实战:从Notebook到生产环境的系统工程

日新闻

  • 5分钟掌握Python进化算法:Geatpy高性能优化工具完全指南
  • Microchip 24AA044 EEPROM选型与应用全指南:从参数解析到实战编程
  • 华为的鸿蒙到底有多牛?为什么称作遥遥领先?

周新闻

  • 3步解锁iOS设备:applera1n激活锁绕过完全指南
  • 39 2026 人工智能证书终极盘点,普通人选 AI 证书可以从这些方向入手
  • Redis 暴露公网有多危险?从端口检查到补救步骤

月新闻

  • 【总结】入门篇:50句话让你记住架构核心概念
  • WeChatMsg技术方案解析:实现Mac微信数据自主管理的完整解决方案
  • WeChatMsg:革新性微信数据备份方案,打造你的专属数字记忆库

关于尧图

  • 公司简介
  • 团队介绍
  • 企业文化
  • 荣誉资质

服务项目

  • 定制开发
  • 电商建站
  • UI 设计
  • 运维服务

快速链接

  • 案例展示
  • 建站流程
  • 常见问题
  • 资讯中心

联系方式

  • 📍北京市朝阳区互联网产业园 A 座 10 层
  • 📞400-888-8888
  • ✉️contact@rkmt.cn
  • 🕐周一至周日 9:00-21:00

© 2024 北京尧图网络科技有限公司 版权所有 | 京 ICP 备 XXXXXXXX 号