SOLVED Install on docker failing

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:
root@DietPi:/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?

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.

try docker logs (name of container)

Looks like it’s running…
root@MicroSrv-Pi3:~# 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:
root@MicroSrv-Pi3:~# 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”

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

1 Like

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?)

docker rm (container name)

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