当前位置: 首页 > news >正文

统信服务器操作系统V20 1070A 安装docker新版本26.1.4

应用场景:

硬件/整机信息:x86平台、深信服超融合平台
OS版本信息:统信V20 1070a

1.获取docker二进制包

链接: https://pan.baidu.com/s/1SukBlra0mQxvslTfFakzGw?pwd=5s5y 提取码: 5s5y

tar xvf  docker-26.1.4.tgz

groupadd docker

chown .docker docker/*

cp -a docker/* /usr/bin/

2.创建/usr/lib/systemd/system/docker.service文件

[Unit]Description=Docker Application Container EngineDocumentation=https://docs.docker.comAfter=network-online.target firewalld.serviceWants=network-online.target[Service]Type=notify# the default is not to use systemd for cgroups because the delegate issues still# exists and systemd currently does not support the cgroup feature set required# for containers run by dockerExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sockExecReload=/bin/kill -s HUP $MAINPID# Having non-zero Limit*s causes performance problems due to accounting overhead# in the kernel. We recommend using cgroups to do container-local accounting.LimitNOFILE=infinityLimitNPROC=infinityLimitCORE=infinity# Uncomment TasksMax if your systemd version supports it.# Only systemd 226 and above support this version.#TasksMax=infinityTimeoutStartSec=0# set delegate yes so that systemd does not reset the cgroups of docker containersDelegate=yes# kill only the docker process, not all processes in the cgroupKillMode=process# restart the docker process if it exits prematurelyRestart=alwaysStartLimitBurst=3StartLimitInterval=60s[Install]WantedBy=multi-user.target

3.启动docker

systemctl daemon-reload

systemctl enable docker

systemctl start docker

chown .docker /var/run/docker.sock

docker -v

http://www.lryc.cn/news/539365.html

相关文章:

  • 【数据分享】1929-2024年全球站点的逐年降雪深度数据(Shp\Excel\免费获取)
  • python爬虫系列课程1:初识爬虫
  • 大模型工具大比拼:SGLang、Ollama、VLLM、LLaMA.cpp 如何选择?
  • 什么是语料清洗、预训练、指令微调、强化学习、内容安全; 什么是megatron,deepspeed,vllm推理加速框架
  • HTTP的“对话”逻辑:请求与响应如何构建数据桥梁?
  • 【深度学习】预训练和微调概述
  • 自动化测试框架搭建-单次接口执行-三部曲
  • 【阮一峰】2.数组
  • DeepSeek 接入PyCharm实现AI编程!(支持本地部署DeepSeek及官方DeepSeek接入)
  • 【Java Card】Applet 使用Shareable进行数据分享以及部分问题处理
  • 国产FPGA开发板选择
  • com.typesafe.config
  • Ubuntu学习备忘
  • 【C++】— 掌握STL vector 类:“Vector简介:动态数组的高效应用”
  • Docker__持续更新......
  • 【R语言】主成分分析与因子分析
  • ROS-相机话题-获取图像-颜色目标识别与定位-目标跟随-人脸检测
  • STM32 如何使用DMA和获取ADC
  • 【JAVA实战】JAVA实现Excel模板下载并填充模板下拉选项数据
  • java面试笔记(一)
  • 【C++】36.C++IO流
  • Qt5开发入门指南:从零开始掌握跨平台开发
  • Rook-ceph(1.92最新版)
  • 深度学习在蛋白质-蛋白质相互作用(PPI)领域的研究进展(2022-2025)
  • 网络安全学习架构 网络安全架构内容
  • 硕成C语言24
  • 《Stable Diffusion绘画完全指南:从入门到精通的Prompt设计艺术》-配套代码示例
  • Linux下为Intel核显安装OpenCL
  • 用deepseek学大模型04-机器学习建模过程
  • 【ClickHouse】Ubuntu下离线安装ClickHouse数据库并使用DBeaver连接