-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement deployment package (flatpak, snap, AppImage, etc...) #9
Comments
I thought it was a web UI, sorry. Well, would be nice to have a web UI |
Related to Issue #10, I'm reopening this issue for tracking. |
Yesterday I manage to successfully create a functional PoC. For instance properly mapping ports that would be used by gstreamer for the backchannel. Unfortunately, achieving this requires modifying the system's display pernission to allow docker to display GUI windows. Regardless, the option will be available to offer a simple way to ensure build compatibilty on unexpected platform. |
Last night I published the PoC Dockerfile. Unfortunately, I was unable to get the microphone to work since my system uses Pulseaudio. simply run docker/docker_build_run.sh Let me know how that goes! |
The script fails for me on the build, but running manually works, maybe there is a way to move the
Why do you need the speaker device mapped? |
I will look into later today if I get a chance. There's a section entitled Handling X Authentication, which refers to the xauth and xhost utilities. Regarding speaker/microphone mapping, it isn't mandatory for the tool to work, but it does support bidirectional audio with cameras that also supports it. The script I wrote doesn't have the bash header, which I suppose might cause issues by invoking the wrong default interpreter. Thanks! |
I had a chance to give it a shot and unfortunately, docker compose doesn't take care of X Authentication. Not running the xhost command results with the following message:
I added the yaml file anyway as an alternative to the script. I will dig around xauth and using token instead of xhost. |
I'm running Ubuntu 22.04.3 LTS & Docker version 24.0.6.
I haven't found any issue regarding xhost support for docker compose, and also I was wondering if this will work for other operating systems or X servers like Wayland. Maybe VNC is a better solution after all. What do you think? |
From what I understand about Docker, it uses the system's kernel instead of virtualizing it. You are correct regarding X permissions that it involves a few security implications. That's why I think xauth token might be a better approach. VNC could be an alternative candidate assuming that it doesn't introduce latency. That being said, Docker is most likely not the best fit for what we are trying to achieve here. (Cross-environment deployment) I honestly didn't look into deployment strategy yet, since I didn't even make an official release. |
I'm using Gnome. |
Out of curiosity, why Docker? Since this is a gui app, why not create a snap and/or flatpak for this? These environments integrate with the system desktop better and make them self-contained for some library dependencies. Docker is better suited for background services. |
Yes, that would work too, I think snap is more limited, but flatpak would be great. |
I tried docker for s**** and giggles. Turns out it doesn't support GUI application gracefully. I'm still finding some bugs and improving overall stability. You can keep this issue open for tracking for whenever I get around to it. Thanks for this input! |
Create a docker file to make the installation more easier
The text was updated successfully, but these errors were encountered: