不 你没有问题
- TG吹水群: @platypus
sudo yum update
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
wget -O /etc/yum.repos.d/docker-ce.repo https://download.docker.com/linux/centos/docker-ce.repo
sudo sed -i 's+download.docker.com+mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
sudo yum makecache fast
sudo yum install docker-ce
sudo systemctl start docker
sudo systemctl enable docker
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://mirror.ccs.tencentyun.com"]
}
EOF
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://ryb0h6jn.mirror.aliyuncs.com"]
}
EOF
sudo service docker restart
sudo yum remove docker docker-common docker-selinux docker-engine
- jiulan/jd:test nevinee/jd:v4 导出
- jiulan/jd:v4 v4重新打包 添加内置库 amd64架构
- jiulan/jd:v4_arm64 v4重新打包 添加内置库 arm64架构
- jiulan/jd:v4-bot amd64架构bot
- jiulan/jd:v4-bot_arm64 arm64架构bot
- 默认amd64架构,完整版本镜像 @V4
docker run -dit \
-v /jd/config:/jd/config \
-v /jd/log:/jd/log \
-v /jd/scripts:/jd/scripts \
-v /jd/own:/jd/own \
-p 5678:5678 \
-e ENABLE_HANGUP=true \
-e ENABLE_WEB_PANEL=true \
-e ENABLE_WEB_TTYD=true \
--name jd \
--hostname jd \
--restart always \
jiulan/jd:v4
docker run -dit \
-v /你想保存的目录/config:/jd/config \
-v /你想保存的目录/log:/jd/log \
-v /你想保存的目录/scripts:/jd/scripts \
-v /jd/own:/jd/own \
-p 5679:5678 \
-e ENABLE_HANGUP=true \
-e ENABLE_WEB_PANEL=true \
-e ENABLE_WEB_TTYD=true \
--name 容器名 \
--hostname 容器名 \
--restart always \
jiulan/jd:v4
docker run -dit \
-v /jd/config:/jd/config \
-v /jd/log:/jd/log \
-v /jd/scripts:/jd/scripts \
-v /jd/own:/jd/own \
-p 5679:5678 \
-e ENABLE_HANGUP=true \
-e ENABLE_WEB_PANEL=true \
-e ENABLE_WEB_TTYD=true \
-e REPO_URL=gitee \
-e JD_SCRIPTS_URL=https://gitee.com/jiulan0229/lxk_scripts.git \
-e JD_SCRIPTS_BRANCH="master" \
--name 容器名 \
--hostname 容器名 \
--restart always \
jiulan/jd:v4
docker exec -it jd1 bash jup
-- 开启DIY每次重启会重启面板 #先进入容器
docker exec -it jd1 bash
wget -q https://raw.githubusercontent.com/jiulan/jd_v4/main/v4mb.sh -O v4mb.sh && chmod +x v4mb.sh && ./v4mb.sh
. 先进入容器
cd panel
npm i
pm2 start server.js
- 替换server.js 添加update_cookie 函数(
只更新存在ck
)、解决无法扫码获取ck、屏蔽shell接口
wget -q https://raw.githubusercontent.com/jiulan/jd_v4/main/server.js -O /jd/panel/server.js
- 替换server.js 添加update_cookie 函数(
存在就更新,不存在新增
)、解决无法扫码获取ck、屏蔽shell接口
wget -q https://raw.githubusercontent.com/jiulan/jd_v4/main/server_by_save.js -O /jd/panel/server.js
- 屏蔽拉取lxk库
wget -q https://raw.githubusercontent.com/jiulan/jd_v4/main/jup.sh -O /jd/jup.sh
-
V4 运行ck限制调整
-p 宿主机端口:容器内端口
-p A:A 内外同端口
-p B:A 异端口