Channing He
Channing He
Articles14
Tags8
Categories0
APT源转Docker环境变量转换工具

APT源转Docker环境变量转换工具

APT源转Docker环境变量转换工具

工具介绍

该工具用于将Debian/Ubuntu系统的APT源地址转换为Docker镜像源部署时所需的环境变量格式。

使用说明

  1. 在下方输入框中粘贴您的APT源地址(每行一个deb条目)
  2. 点击"转换"按钮,即可在下方获得转换后的环境变量
  3. 点击"复制结果"按钮复制转换结果

支持的格式

  • 标准APT源:deb https://example.com/debian bookworm main
  • 带架构的APT源:deb [arch=arm64,amd64] https://example.com/debian bookworm main
  • 带目录的APT源:deb https://example.com/debian bookworm main/debian-installer
  • 多组件APT源:deb https://example.com/debian bookworm main contrib non-free

输入APT源

转换结果

Author:Channing He
Link:https://homelabproject.cc/tools/apt-converter/index.html
版权声明:本文采用 CC BY-NC-SA 3.0 CN 协议进行许可