SOLVED Install on docker failing

docker
Tags: #<Tag:0x00007fd08d752320>

#1

I’m trying to install HA into a docker container on my Raspberry Pi 3 running DietPi (v6.21.1). I’m logged in as root and using the @BurnsHA procedure on YouTube. I’ve run through it three times now and every time it fails to create the HA config files in the specified host directory and I get ERR_CONNECTION_REFUSED when I go to HOST.IP:8123.

Here is the command + output:
[email protected]:/home# docker run -d
> --name=“home-assistant”
> --restart on-failure
> --device=/dev/ttyUSB0 \ <-- for my Nortek Zwave stick
> -v /home/ha/hass_config:/config
> -e “TZ=America/Phoenix”
> -p 8123:8123
> homeassistant/home-assistant
Unable to find image ‘homeassistant/home-assistant:latest’ locally
latest: Pulling from homeassistant/home-assistant
22dbe790f715: Pull complete
0250231711a0: Pull complete
6fba9447437b: Pull complete
c2b4d327b352: Pull complete
270e1baa5299: Pull complete
8dc8edf0ab44: Pull complete
86ded05de41b: Pull complete
1eac5266a8fa: Pull complete
61b3f1392c29: Pull complete
8066c73335a2: Pull complete
d53841f1c925: Pull complete
542b6793b767: Pull complete
c05cec732dfb: Pull complete
6fd994d0408b: Pull complete
20163848ddec: Pull complete
Digest: sha256:3ef4b224########################856cb8c0
Status: Downloaded newer image for homeassistant/home-assistant:latest
dcb4214#######################################fa11a1e8

Is there a logfile somewhere that might shed some light on this?


#2

This looks like a docker question rather than a Home Assistant one. Does docker show the image as running?

Many people run the dockerized hassio on their RPI following the Linux install instructions. I have it in my Raspian Lite install.


#3

try docker logs (name of container)


#4

Looks like it’s running…
[email protected]:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
dcb4214ce5c1 homeassistant/home-assistant “python -m homeassis…” About an hour ago Restarting (1) 27 seconds ago home-assistant

[Is posting my container ID a security risk?]

Output of docker logs command:
[email protected]:~# docker logs home-assistant
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”
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”
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”
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”
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”
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”
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”
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”
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”
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”
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”
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”
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”


#5

looks like you are not using the right image, change your image command to homeassistant/raspberrypi3-homeassistant


#6

OK. I’ll try that. Thanks!
Can anyone tell me the command for deleting this container? (So I don’t have to keep uninstalling/reinstalling Docker?)


#7

docker rm (container name)


#8

It worked! Thanks for the help, @dkramer74 !!!