cant run https://github.com/home-assistant/private-demo without error #22149
Replies: 5 comments 7 replies
-
I tried run with --network=host and get less errors:
|
Beta Was this translation helpful? Give feedback.
-
--priviliged seem to work...but still...docker on desktop does not run with --privilieged --network=host by defult does it? |
Beta Was this translation helpful? Give feedback.
-
note...when running with --privilged the app does actually never seem to run/work. |
Beta Was this translation helpful? Give feedback.
-
I've never tried private-demo, but homeassistant works fine for me (rootless) with:
(Not all of those may be necessary, some may be cargocult from prior attempts to get it working) |
Beta Was this translation helpful? Give feedback.
-
So here is what is happening. The default network for podman disables ipv6 and home assistant fails (didnt look into if they have a setting to disable or ignore lack of ipv6). Setting network to host works as workaround, except if you do that podman won't try to expose ports through gvproxy. Normally you wouldn't need to on Linux, since there is nothing to do with --net=host, but on machine this isnt the case. However, you can create a new network with ipv6 to at least get the app functioning:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
this works outofbox on docker:
with podman I need to do this but still fails (its also noticably slower)
is this some difference in network setup?
Beta Was this translation helpful? Give feedback.
All reactions