当前位置: 首页 > 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

相关文章:

  • 高频面试--redis
  • Python打卡 DAY 38
  • Docker 挂载卷并保存为容器
  • LeetCode 2894.分类求和并作差:数学O(1)一行解决
  • 大语言模型 21 - MCP 自动操作 Figma+Cursor 实现自动原型开发!
  • 利用 MkDocs 和 GitHub 部署个人博客网页
  • 基于 SpringBoot 与 VueJS 的智慧就业服务平台构建:技术融合与实践创新
  • AI赋能引爆短剧全球化风潮,腾讯云媒体处理助力短剧平台出海吸金
  • proteus8.4 安装包下载地址与安装教程
  • Web通信协议全景解析:从HTTP到WebService的技术演进与对比
  • NGINX HTTP/2 全面指南开启、调优与实战
  • Windows版本的postgres安装插件http
  • 恶意npm与VS Code包窃取数据及加密货币资产
  • FastMoss 国际电商Tiktok数据分析 JS 逆向 | MD5加密
  • Pytorch
  • [25-cv-05718]BSF律所代理潮流品牌KAWS公仔(商标+版权)
  • Springboot引入Spring Cloud for AWS的配置中心(Parameter Store和Secrets)
  • 使用redis代替session的登录校验
  • 语音合成之十七 语音合成(TTS)中文自然度:问题、成因、解决方案
  • 关于 Web 安全:6. 常见 CMS 开源系统风险点
  • 网站空间付款方式/怎么在百度制作自己的网站
  • 手机下载视频网站模板/北京中文seo
  • 文件上传网站源码/中央电视台新闻联播
  • 律师做网站推广有用吗/优化大师免费下载安装
  • 精美网站建设/seo网站优化工具大全
  • 黄岐建网站/网络快速排名优化方法