3 lines
4.0 KiB
JavaScript
3 lines
4.0 KiB
JavaScript
import{_ as i,c as e,a0 as t,o as s}from"./chunks/framework.p2VkXzrt.js";const p=JSON.parse('{"title":"群晖docker安装 xiaomusic","description":"","frontmatter":{"title":"群晖docker安装 xiaomusic"},"headers":[],"relativePath":"issues/101.md","filePath":"issues/101.md","lastUpdated":null}'),o={name:"issues/101.md"};function r(c,a,d,h,n,l){return s(),e("div",null,a[0]||(a[0]=[t(`<h1 id="群晖docker安装-xiaomusic" tabindex="-1">群晖docker安装 xiaomusic <a class="header-anchor" href="#群晖docker安装-xiaomusic" aria-label="Permalink to "群晖docker安装 xiaomusic"" target="_self"></a></h1><p>由于现在群晖已经无法正常下载 docker 里的镜像了,绕了好多弯;现在用 ssh 服务命令拉取镜像来创建容器; 1、ssh 输入账号密码进入群晖 2、输入 sudo -i 再次输入密码进入 root 权限 3、输入 docker search xiaomusic来查找到该镜像名; 4、然后输入 docker pull xiaomusic 试试是否能安装,如果不能;就得在命令前加个代理地址;下面列了一些代理地址可以一个个的试 docker.fxxk.dedyn.iodocker.io registry-docker-hub-latest-9vgc.onrender.com docker.chenby.cn dockerproxy.com hub.uuuadc.top docker.jsdelivr.fyi docker.registry.cyou dockerhub.anzu.vip</p><p>我是用的最下面这个成功的 docker pull dockerhub.anzu.vip/xiaomusic:latest 5、安装完成后就进入群晖 DOCKER 配置 xiaomusic <img width="491" alt="image" src="https://github.com/hanxi/xiaomusic/assets/38914725/e318062b-bd70-464c-a8df-8ce3635f2d84"> MI_HARDWARE=型号 前面第4 步骤获取的 XIAOMUSIC_SEARCH=搜索方式,我填写的bilisearch: 意思是通过 bilibili 搜索 MI_DID=前面第4 步骤获取的 MI_USER=小米账号 MI_PASS=小米密码 XIAOMUSIC_FUZZY_MATCH_CUTOFF=模糊匹配,最小为 0.1 最大为 1,越小越模糊,越大越精准</p><p>6、配置端口 <img width="757" alt="image (1)" src="https://github.com/hanxi/xiaomusic/assets/38914725/2b6b9283-296f-4845-a3ff-0ebb11f548b4"> 7、映射路径 <img width="737" alt="image (2)" src="https://github.com/hanxi/xiaomusic/assets/38914725/593718dd-8302-4a69-bec9-36e70f3f0407"></p><h2 id="评论" tabindex="-1">评论 <a class="header-anchor" href="#评论" aria-label="Permalink to "评论"" target="_self"></a></h2><h3 id="评论-1-kiwi5656" tabindex="-1">评论 1 - kiwi5656 <a class="header-anchor" href="#评论-1-kiwi5656" aria-label="Permalink to "评论 1 - kiwi5656"" target="_self"></a></h3><p>MI_DID=前面第4 步骤获取的,第4步骤在哪?</p><hr><h3 id="评论-2-hanxi" tabindex="-1">评论 2 - hanxi <a class="header-anchor" href="#评论-2-hanxi" aria-label="Permalink to "评论 2 - hanxi"" target="_self"></a></h3><blockquote><p>MI_DID=前面第4 步骤获取的,第4步骤在哪?</p></blockquote><p>不用设置 MI_DID</p><hr><h3 id="评论-3-hanxi" tabindex="-1">评论 3 - hanxi <a class="header-anchor" href="#评论-3-hanxi" aria-label="Permalink to "评论 3 - hanxi"" target="_self"></a></h3><p>国内 docker 镜像</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>docker pull m.daocloud.io/docker.io/hanxi/xiaomusic:latest</span></span>
|
||
<span class="line"><span>docker tag m.daocloud.io/docker.io/hanxi/xiaomusic:latest hanxi/xiaomusic:latest</span></span></code></pre></div><hr><h3 id="评论-4-ginitaimeiyty" tabindex="-1">评论 4 - ginitaimeiyty <a class="header-anchor" href="#评论-4-ginitaimeiyty" aria-label="Permalink to "评论 4 - ginitaimeiyty"" target="_self"></a></h3><p>如果手头上有能科学上网的机器,直接把群辉的代理服务器IP填写成可以科学上网的机器IP+端口,翻墙软件打开允许局域网连接就可以</p><hr><p><a href="https://github.com/hanxi/xiaomusic/issues/101" target="_self">链接到 GitHub Issue</a></p>`,20)]))}const m=i(o,[["render",r]]);export{p as __pageData,m as default};
|