Run home assistant docker on centos rpi 3b+

hi, I’m trying to run home assistant in a docker container on centos7 on a raspberrypi 3b+

Commad:
docker volume create homeassistant_data

docker run -d --restart=unless-stopped --name homeassistant --net=host -p 8123:8123 --privileged -v homeassistant_data:/config -e TZ=Europe/Rome ghcr.io/home-assistant/home-assistant:stable

Error:
/usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:290: starting container process caused "process_linux.go:340: running prestart hook 1 caused "error running hook: exit status 1, stdout: , stderr: “”.

I run Home Assistant in a Docker container, but I’ve never seen that error. My setup is a little different. I’m using Raspberry Pi OS (Debian) and Docker Compose. The docker-compose.yml looks like this:

services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/raspberrypi4-homeassistant:stable"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /opt/docker/homeassistant:/config
    restart: unless-stopped
    network_mode: host

I’m using a bind mount rather than a volume, but otherwise not much difference. I’m not using ‘privileged’ however.

If you’re interested, I have a tutorial on how to get Docker, Home Assistant, and a bunch of other apps going on Raspberry Pi.