Fix OS-Windows use docker error(exit code 125)#559
Fix OS-Windows use docker error(exit code 125)#559ISouthRain wants to merge 3 commits intozevlg:masterfrom
Conversation
|
host path to docker path translations looks way too complicated and danger. It might not work as you expect. It might even affect some text message content if its text looks like your local path. Why can't you use same Path translations should be done explicitly in the code via some file accessing API, something like Other parts of the patch are discussible. Please describe parts where Windows docker functionality differs from docker on Linux |
Because the path addresses of Windows and Linux are different, for example: Another reason is that because the docker image of telega-server is Linux, I hope you can give me more guidance. |
|
Is it possible to create Windows docker image? I'm trying to avoid path translation if possible. If not possible, then it will require patching every piece of telega code where file path is used or provided to TDLib. Your current approach to path translation is danger, it can have unexpected side effects Please create FR (Feature Request) issue for path translations. I'll create API for the path translations, and then you will be able to use this API to translate paths in the correct way to implement docker support for Windows OS |
Now, telega.el can be run using docker on Windows systems.
Already tested platforms:
normal operation.
What do you think?