I think it might have something to do with the “/config dashboard” line from the docker run command. How do I port this line into the compose file? I cant find anything searching on google as to how I use this in docker-compose
Can anyone help?
I can get it working with docker run but would rather use my existing compose file to keep it all together!
I don’t use this image, but in general the /config and dashboard in the docker run command are parameters to the command, so you should probably add a command section and add them there. You will have to determine the command used from the image or Dockerfile.
In general, this is not a HomeAssistant problem, and you should use the support forums for ESPHomelib to get a better answer.
everything comes up smoothly expect esphomeyaml. It shows running but when I’m switching to the log it’s just printing:
standard_init_linux.go:190: exec user process caused “exec format error”
standard_init_linux.go:190: exec user process caused “exec format error”
standard_init_linux.go:190: exec user process caused “exec format error”
standard_init_linux.go:190: exec user process caused “exec format error”
standard_init_linux.go:190: exec user process caused “exec format error”
the ottowinter/esphomeyaml image is built for amd64 only. I might look into adding other processor at some point, but that would also mean re-doing the whole auto-image-builder - currently all esphomeyaml images are built on docker hub. Supporting other architectures would mean that i would need to do so myself.
@orange-assistant I think it should work without HassIO too, but I’ll just say it’s not officially supported. Also then you can only use the dashboard - which I guess isn’t a problem anyway. Probably you’ll have to add --net=host to the command too
There are quite a few docker containers available for esphome with not a lot of information to delineate between. That said, I am using the esphome/esphome image and it is working perfectly for me.
For context, I have an Intel PC running Ubuntu 18.04, with the homeassistant/home-assistant image amongst others.
From my understanding (since I made this mistake when first running ESPHome) is that the ottowinter/esphomeyaml is no longer being updated. the other one is the “official” one and is being actively updated.
Yeah, i don’t remember why I used the other one at the time. I may have gotten in around the time of the switch between the two. Then when I went to update I couldn’t until I figured out there was a new image and switched to that one.