【一】Docker常用命令
1.查看容器名
docker ps -a
2.重启青龙容器
docker restart 你的容器名
3.更新青龙(或者直接面板更新)
docker exec -it qinglong ql update
4.更新青龙并编译
docker exec -it qinglong ql restart
5.拉取自定义仓库,已Faker仓库为例
docker exec -it qinglong ql repo https://ghproxy.com/https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|ZooFaker_Necklace.js|JDJRValidator_Pure|sign_graphics_validate"
6.拉取单个脚本,以Faker库的资产变更通知为例
docker exec -it qinglong ql raw https://github.com/shufflewzc/faker2/blob/main/jd_bean_change_new.js
7.导出互助码
docker exec -it qinglong ql code
8.通知测试
docker exec -it qinglong notify test test
9.立即执行脚本,以资产变更通知为例
docker exec -it qinglong task jd_bean_change_new.js now
10.并行执行脚本
docker exec -it qinglong task jd_bean_change_new.js conc
11.查看青龙密码 注意你的容器及文件夹名称
docker exec -it qinglong cat /ql/config/auth.json
12.删除7天前的所有日志
docker exec -it qinglong ql rmlog 7
13.启动青龙bot 前提你已配置好青龙BOT
docker exec -it qinglong ql bot
标签:exec,qinglong,青龙,ql,常用命令,jd,Docker,docker
From: https://www.cnblogs.com/dream-ze/p/17511048.html