-
Hi, I often use Docker to containerize everything I would need in a project. This mostly includes the tooling, language servers, and such. I actually never had the opportunity, until now, to test something graphical. I was venturing on this journey of graphical interaction using Docker, and luckily, some folks have pointed out that I can use Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I think by default winit will try to connect to the wayland compositor first, and perhaps due to the environment variables in your container, that is attempted but somehow fails, and it never goes to trying the x11 display server. Do you have |
Beta Was this translation helpful? Give feedback.
-
Neither this docker file nor muslrust seem to set any display related variables. How do you set them? |
Beta Was this translation helpful? Give feedback.
-
Thanks a bunch for mentioning strace. It is strage I didn't think of that. I have updated my Dockerfile and it seems to function well now. I hope somebody could put this in use as well (make sure you mount
One thing to note here is that the RUSTFLAGS must be duplicated in .cargo/config.toml for
Now, all I need is a way to compile stuff for Android, too. Then, I can continue on hacking! |
Beta Was this translation helpful? Give feedback.
Thanks a bunch for mentioning strace. It is strage I didn't think of that. I have updated my Dockerfile and it seems to function well now. I hope somebody could put this in use as well (make sure you mount
/tmp/.X11-unix
and runxhost +local:docker
on your host machine):One thing to note here is…