Error: deamon not found

I try to install Home Assistant on a Raspberry as described on:
https://www.home-assistant.io/installation/raspberrypi/#install-home-assistant-container

I use the following command:

docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  -e TZ=Europe/Berlin \
  -v /home/pi/homeassistant_config:/config \
  --network=raspi \
  ghcr.io/home-assistant/home-assistant:stable

But I get the following error:
docker: Error response from daemon: network raspi not found.

Same when I use the IP address directly:

docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  -e TZ=Europe/Berlin \
  -v /home/pi/homeassistant_config:/config \
  --network=192.168.188.xxx \
  ghcr.io/home-assistant/home-assistant:stable

Solved it. The ‘host’ in --network=host should not be replaced by the host name or ip address. I.e. the call should be:

docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  -e TZ=Europe/Berlin \
  -v /home/pi/homeassistant_config:/config \
  --network=host \
  ghcr.io/home-assistant/home-assistant:stable

You mean you decided to follow the instructions and then it worked? Wow, hard to credit.