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

威联通QNAP替换docker源

vi /share/CACHEDEV1_DATA/.qpkg/container-station/etc/docker.json

原配置信息

{"experimental": false,"default-address-pools": [{"base": "172.29.0.0/16","size": 22}],"default-ulimits": {"nofile": {"Name": "nofile","Hard": 65535,"Soft": 65535}},"group": "administrators","log-driver": "json-file","log-opts": {"max-size": "10m","max-file": "10"},"runtimes": {"kata-runtime": {"path": "/opt/kata/bin/kata-runtime"},"nvidia-runtime": {"path": "/opt/nvidia/bin/nvidia-container-runtime"}},"ip6tables": false
}

添加新源

,"registry-mirrors": ["https://docker.m.daocloud.io","https://docker.1ms.run","https://dockerproxy.net","https://huecker.io","https://dockerhub.timeweb.cloud"]

修改后

{"experimental": false,"default-address-pools": [{"base": "172.29.0.0/16","size": 22}],"default-ulimits": {"nofile": {"Name": "nofile","Hard": 65535,"Soft": 65535}},"group": "administrators","log-driver": "json-file","log-opts": {"max-size": "10m","max-file": "10"},"runtimes": {"kata-runtime": {"path": "/opt/kata/bin/kata-runtime"},"nvidia-runtime": {"path": "/opt/nvidia/bin/nvidia-container-runtime"}},"ip6tables": false,"registry-mirrors": ["https://docker.m.daocloud.io","https://docker.1ms.run","https://dockerproxy.net","https://huecker.io","https://dockerhub.timeweb.cloud"]
}

重启docker

sudo /etc/init.d/container-station.sh restart We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:#1) Respect the privacy of others.#2) Think before you type.#3) With great power comes great responsibility.Password: 输入后密码后done

看是否配置成功
命令行输入

docker info
http://www.xdnf.cn/news/672553.html

相关文章:

  • 被忽视的 App 安全入口:资源文件暴露问题与 iOS 混淆实战(含 Ipa Guard 应用经验)
  • React从基础入门到高级实战:React 核心技术 - 错误处理与错误边界:构建稳定的应用
  • Springboot引入Spring Cloud for AWS的配置中心(Parameter Store和Secrets)
  • RK3568DAYU开发板-平台驱动开发:ADC驱动
  • 火柴INIBOX专业矿机登场,碾压现有Initverse挖矿设备
  • Java构建Tree并实现节点名称模糊查询
  • C 语言学习笔记(结构体1)
  • STM32的DMA入门指南:让单片机学会“自动搬运“数据
  • 【Day38】
  • C语言_文件操作
  • 【深度学习-Day 18】从SGD到Adam:深度学习优化器进阶指南与实战选择
  • 【JavaSE】枚举和注解学习笔记
  • 高考加油(Python+HTML)
  • 青少年编程与数学 02-020 C#程序设计基础 07课题、控制结构
  • Android设置界面层级为最上层实现
  • 【数据集】EarthExplore下载Landsat LST 数据
  • Java网络编程性能优化
  • 【Vue Vapor Mode :技术突破与性能优化的可能性】
  • 嵌入式学习--江协stm32day1
  • 第9章:网络协议栈与 IoT 通信
  • React 第四十七节 Router 中useLinkClickHandler使用详解及开发注意事项案例
  • React 第四十八节 Router中 useMatch 的使用详细介绍及案例分析
  • React---day2
  • 微服务及容器化设计--可扩展的架构设计
  • Python 中的 for 循环:从基础到高级应用的全面解析
  • WPF【09】WPF基础入门 (三层架构与MVC架构)
  • 沈阳城市空气质量综合评价系统/答辩以及详细讲解
  • 基于cornerstone3D的dicom影像浏览器 第二十四章 显示方位、坐标系、vr轮廓线
  • Python requests
  • App Runner和Task Pipeline中的数据库连接管理指南