赞
踩
- 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
- 14.查看全部容器(包含停止的容器)
- docker ps -a
- 16.停止容器
- docker stop 容器ID
- 18.启动容器
- docker start 容器ID
- 19.删除容器
- docker rm 容器ID
- 20.删除镜像
- docker rmi 镜像ID
- 21.停止并删除全部容器
- docker stop $(docker ps -q) & docker rm $(docker ps -aq)
- 22.删除所有镜像[需先执行21条]
- docker rmi -f $(docker images -qa)
---------------------------------------------------------------------------------------------------------
HOST修改 可以直连 Github 方便以后库连接
使用 Final Shell
打开:/etc/hosts
在最后面添加
13.114.40.48 github.com
13.114.40.48 github.global.ssl.fastly.net
13.114.40.48 nodeload.github.com
13.114.40.48 api.github.com
13.114.40.48 codeload.github.com
- https://gh.fakev.cn/
- https://hub.fastgit.xyz/
- https://hub.0z.gs
-
- 范例:https://github.com/xxxxxx/xxxxxx.git
- 替换:https://hub.0z.gs/xxxxxx/xxxxxx.git
-
yum install docker-io –y
- sudo systemctl start docker
- sudo systemctl status docker
- sudo systemctl enable docker
- docker run -dit \
- -v /root/ql/config:/ql/config \
- -v /root/ql/log:/ql/log \
- -v /root/ql/db:/ql/db \
- -v /root/ql/scripts:/ql/scripts \
- -v /root/ql/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。