OpenXbox / xbox-smartglass-core-python

SmartGlass Core protocol python library
https://pypi.python.org/pypi/xbox-smartglass-core
MIT License
73 stars 13 forks source link

Docker image? #21

Closed recklessnl closed 4 years ago

recklessnl commented 6 years ago

There are 2 unofficial docker image of this available but none of them work. Would you be able to release an official Docker version? Would be very much appreciated.

tuxuser commented 6 years ago

Please elaborate "none of them work"?

unknownskl commented 6 years ago

Which docker images did you try and which error did you get? I see you have some activity with Home-Assistant. If you want to get this running with HA, i would suggest HunterJM's repository: https://github.com/hunterjm/hassio-addons

The docker hub account still needs to be set up, will talk with the maintainers of the project to get it up and running.

alexhardwicke commented 6 years ago

I'd also be interested in this, and ideally not just armv7hf - arm64 would be great if possible.

tuxuser commented 6 years ago

If a docker expert wants to help out on auto-building via dockerhub and mutli-arch registry, feel free to get in contact via Discord or send a Pull Request.

Contributions in form of documentation / instructions for Docker usage are also very welcome!

vrnagy commented 4 years ago

You can use github actions to do multiarch builds. They have a blog post about the setup: https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/

tuxuser commented 4 years ago

@vrnagy thanks, just implemented that.

https://hub.docker.com/u/openxbox

Maybe somebody can give it a try

vrnagy commented 4 years ago

@tuxuser tested it in the past hour. Looks stable to me

tuxuser commented 4 years ago

@vrnagy thanks for the feedback. Which OS are you running?

vrnagy commented 4 years ago

Debian 10 with the latest docker-ce

tuxuser commented 4 years ago

@vrnagy thanks Can somebody with macOS test too pls - I remember that being an issue in the past, cause its running as a "container-in-a-container" and multicast traffic is an issue with docker in general apparently..

vrnagy commented 4 years ago

@tuxuser Tested it on Windows Docker with WSL2 backend. Looks like it has the same multicast problem as on macOS

tuxuser commented 4 years ago

Yeah, multicast is a basic Docker issue apparently. Only Linux with --network=host seems to work with it properly. Closing this issue for now as the current state is as close as we can get with docker..