2026-07-15 02:23PM
龙芯 cpu 架构是 loong64(loongarch64),普通的电脑/服务器 linux 镜像是 arm64(x86_64),两套完全不同的 cpu 指令集,二进制程序不互通
拉取 ubuntu:last/nginx/mysql 默认都是amd64,龙芯硬件无法识别执行
龙芯系统有专门的 docker image,网站是:https://cr.loongnix.cn/
1. 安装 docker
sudo apt install docker
2. 无需配置代理
/etc/systemd/system/docker.service.d/http-proxy.conf
[Service] #Environment="HTTP_PROXY=http://127.0.0.1:8118/" #Environment="HTTPS_PROXY=http://127.0.0.1:8118/" #Environment="NO_PROXY=localhost,127.0.0.1,.docker.internal"
3. config docker daemon.json:/etc/docker/daemon.json
{
"registry-mirrors": ["https://cr.loongnix.cn"]
}
登录
请登录后再发表评论。
评论列表:
目前还没有人发表评论