Cannot install HA docker again on RPi3?

Hi there, I need some help with installing HA using the docker image. Initially I made a mistake and tried to delete everything to install it again. But somehow I can’t. I’ve used the command from this site:

docker run --init -d --name=“home-assistant” -e “TZ=Europe/Amsterdam” -v /home/pi/homeassistant:/config --net=host homeassistant/raspberrypi3-homeassistant:stable

What I get back after the image has is

Invalid container name (“home-assistant”)

Below the full log. Who can help me out and tell me what’s going wrong?

Unable to find image 'homeassistant/raspberrypi3-homeassistant:stable' locally
stable: Pulling from homeassistant/raspberrypi3-homeassistant
3cfb62949d9d: Pull complete 
bf2c120223c9: Pull complete 
35b908681b98: Pull complete 
10286d028db5: Pull complete 
7a4cb7c7839e: Pull complete 
e79a2ae94b48: Pull complete 
28103e08a12f: Pull complete 
ef5115ffd8a0: Pull complete 
38a0a361717c: Pull complete 
fef3a3b59a30: Pull complete 
0bb4ea8698cf: Pull complete 
f531fa7f85d6: Pull complete 
ab326356eb5c: Pull complete 
5fec98cc89e8: Pull complete 
bb1f8969090f: Pull complete 
28d654ea03a8: Pull complete 
77f96c33430b: Pull complete 
44742b496c01: Pull complete 
ae58f577e315: Pull complete 
e6e586a2932d: Pull complete 
1cbcf96eb0e6: Pull complete 
8df62bee6dee: Pull complete 
1a3e8812228c: Pull complete 
ba61ddd30ccd: Pull complete 
81f6cde46c94: Pull complete 
Digest: sha256:f05898b538f520d318209c162e40a6b10ef3218f8ad9499a2ef302655a8085b5
Status: Downloaded newer image for homeassistant/raspberrypi3-homeassistant:stable
docker: Error response from daemon: Invalid container name (“home-assistant”), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed.
See 'docker run --help'.

docker run --init -d --name=“home-assistant” -e “TZ=Europe/Amsterdam” -v /home/pi/homeassistant:/config --net=host homeassistant/raspberrypi3-homeassistant:stable

It’s the stupid fancy quotes. Fix all the quotes in your command to be normal quotes.

1 Like

Ah damn, it’s really that simple ;-). Thanks a bundle!

I hate when websites convert the standard quotes over to “fancy” ones. I think it’s a MAC thing too sometimes.