在Docker容器中发送图片失败
#567
-
我想实现的功能是从网络上接收信息,将其处理成一张图片后存储在与插件同目录的一个文件夹中,之后发送。
其中beachball函数会生成一张图片并保存。
我检查了docker发现这个文件被正常的保存在docker中了, |
Beta Was this translation helpful? Give feedback.
Answered by
Leo-455
Feb 5, 2025
Replies: 2 comments 1 reply
-
如果你是使用路径来发送图片的,那是协议端来根据路径寻找图片。所以,不管你的机器人是不是在容器内,都是在协议端主机路径找图片。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
已解决,docker需要做一下路径映射。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Leo-455
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已解决,docker需要做一下路径映射。