老哥,我也是eSir高大全软路由,看了你的教程《openwrt-docker部署lxk0301京东自动签到脚本》,自己尝试学习。
镜像已经拉取,但是建立新容器一直失败,错误代码,你帮忙看下哪里不对。
Images: pulling lxk0301/jd_scripts:latest...
latest: Pulling from lxk0301/jd_scripts
Digest: sha256:f4882af4e9a053cfe9bb9fc0066691e675106f0d5495c30c052b61ffc24de4f3
Status: Image is up to date for lxk0301/jd_scripts:latest
done
Container: create jd_scripts docker...code:400 Bad Request
yl
2021/03/24
是LXK0301大佬吗?
docker create --name telegram-cli -e TZ=Asia/Shanghai -v 挂载本地目录:/root/.telegram-cli ugeek/telegram-cli:amd64
这个自动提交互助码为什么不成功,运行结果如下:
$ docker create --name telegram-cli -e TZ=Asia/Shanghai -v 挂载本地目录:/root/.telegram-cli ugeek/telegram-cli:amd64
Error response from daemon: create 挂载本地目录: "挂载本地目录" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
老哥,我也是eSir高大全软路由,看了你的教程《openwrt-docker部署lxk0301京东自动签到脚本》,自己尝试学习。
镜像已经拉取,但是建立新容器一直失败,错误代码,你帮忙看下哪里不对。
Images: pulling lxk0301/jd_scripts:latest...
latest: Pulling from lxk0301/jd_scripts
Digest: sha256:f4882af4e9a053cfe9bb9fc0066691e675106f0d5495c30c052b61ffc24de4f3
Status: Image is up to date for lxk0301/jd_scripts:latest
done
Container: create jd_scripts docker...code:400 Bad Request
是LXK0301大佬吗?
docker create --name telegram-cli -e TZ=Asia/Shanghai -v 挂载本地目录:/root/.telegram-cli ugeek/telegram-cli:amd64
这个自动提交互助码为什么不成功,运行结果如下:
$ docker create --name telegram-cli -e TZ=Asia/Shanghai -v 挂载本地目录:/root/.telegram-cli ugeek/telegram-cli:amd64
Error response from daemon: create 挂载本地目录: "挂载本地目录" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
$ docker exec -it telegram-cli telegram-cli -N -W
change_user_group: can't find the user telegramd to switch to
Telegram-cli version 1.4.1, Copyright (C) 2013-2015 Vitaly Valtman
Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type show_license'. This is free software, and you are welcome to redistribute it under certain conditions; typeshow_license' for details.
Telegram-cli uses libtgl version 2.1.0
Telegram-cli includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
I: config dir=[/root/.telegram-cli]
你好,有TG吗,我建了个emby公益服可以挂在你博客文章里吗
请问方便共享一下公益服吗?可以加你的tg吗
大佬断更了?研究下京东双十一活动的请求参数里的log加密哦
test.sh的文件里的内容:
@JD_ShareCode 种豆得豆(
echo "resolve_username JD_ShareCode"
sleep 5;
echo "msg JD_ShareCode /help"
echo "safe_quit"
) | ${telegramPath}telegram-cli -D
运行 bash /opt/work/telegram/test.sh,
提示:
change_user_group: can't find the user telegramd to switch to
resolve_username JD_ShareCode
jdShareCode
msg JD_ShareCode /help
FAIL: 38: can not parse arg #1
safe_quit
All done. Exit
halt
机器人收不到信息,是不是哪里出错了?
你TG没用过JD_shareCode机器人吗?lxk0301已经弃坑了,关闭互助码提交了!
您好!
!/bin/bash在设置telegram-cli的sh文件方面有点问题,能加你tg指教下吗?我的tg:@szcare。
主要问题是:提交互助码的sh文件无法运行,运行的时候提示:/opt/work/telegram/test.sh:行11: /opt/work/telegram/tg/bintelegram-cli: 没有那个文件或目录
sh文件内容如下(telegtam-cli是编译安装的):
telegramPath=/opt/work/telegram/tg/bin #记得替换你telegram-cli目录/xxx/tg/bin
(
@szcarebot 种豆得豆echo "resolve_username szcarebot"
sleep 5;
echo "msg szcarebot /help"
echo "safe_quit"
) | ${telegramPath}telegram-cli -D
脚本里面的目录要替换成你指定的绝对路径!例如/root/work
谢谢您的回复,已经找到问题所在了。把telegramPath=/opt/work/telegram/tg/bin改为:telegramPath=/opt/work/telegram/tg/bin/就好了。
老哥,我也是eSir高大全软路由,看了你的教程《openwrt-docker部署lxk0301京东自动签到脚本》,自己尝试学习。
镜像已经拉取,但是建立新容器一直失败,错误代码,你帮忙看下哪里不对。
Images: pulling lxk0301/jd_scripts:latest...
latest: Pulling from lxk0301/jd_scripts
Digest: sha256:f4882af4e9a053cfe9bb9fc0066691e675106f0d5495c30c052b61ffc24de4f3
Status: Image is up to date for lxk0301/jd_scripts:latest
done
Container: create jd_scripts docker...code:400 Bad Request
日志不够全啊!
老哥方便远程指导下嘛?ToDesk,可以联系我邮箱。
留下TG吧
https://t.me/joinchat/Cl6lspL_zuY0MDc1
群里等你
是LXK0301大佬吗?
docker create --name telegram-cli -e TZ=Asia/Shanghai -v 挂载本地目录:/root/.telegram-cli ugeek/telegram-cli:amd64
这个自动提交互助码为什么不成功,运行结果如下:
$ docker create --name telegram-cli -e TZ=Asia/Shanghai -v 挂载本地目录:/root/.telegram-cli ugeek/telegram-cli:amd64
Error response from daemon: create 挂载本地目录: "挂载本地目录" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
我不是lxk0301大佬!!!话说自己电脑挂这个自动提交互助码用处不大吧!24小时开机?
”挂载本地目录”替换成你vps的一个目录,目录自己定义一下,绝对路径,类似”/root/telegram”这是用来存你telegram账号登陆信息的!
我是win家庭版装的docker不是vps
那也要改成你的目录,随便找个盘建个文件夹!切记不要用中文!
$ docker exec -it telegram-cli telegram-cli -N -W
change_user_group: can't find the user telegramd to switch to
Telegram-cli version 1.4.1, Copyright (C) 2013-2015 Vitaly Valtman
Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type show_license'. This is free software, and you are welcome to redistribute it under certain conditions; typeshow_license' for details.
Telegram-cli uses libtgl version 2.1.0
Telegram-cli includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
I: config dir=[/root/.telegram-cli]
+86186075
FAIL: 38: can not find command ''
FAIL: 38: can not find command ''
这个样子还是不行啊
你这样是已经成功了啊,
你应该登陆过了吧?
你可以使用msg等命令,看看Telegram-cli作者github有命令说明,或者你telegram给人家发消息,屏幕应该也有回显的!
没有哦,我才使用 docker exec -it telegram-cli telegram-cli -N -W这条命令出现的,后续的还没用,不知道怎么弄,有详细教程码‘
但是你的docker已经部署成功了。
你看这个https://www.orzlee.com/toss/2021/02/24/lxk0301-jingdong-signin-scriptautomatic-submission-of-mutual-aid-codes.html,搜索 '登陆telegram-cil',没有这样的回显吗?这样才是要你登陆,如果没有出现这个那你就是删除挂载目录里面的内容重新'--build'看看!
有tele群吗,大佬
没有群啊!!!
大佬怎么调整N1内docker的空间,现在已经装不下镜像了
N1本身空间不大吧?有usb就挂载u盘或者移动硬盘吧!没有的话那就没办法了!