Struggling to install HA with docker compose

I am struggling to install Home Assistant with Docker compose, I have managed to get other containers running (frigate and mosquitto) but Home Assistant gets stuck quite early. I have googled and googled for an answer but haven’t found an answer and not getting to the point where I have looked at all the pages and other people having issues starting HA get past the point mine does, so I don’t think it can be the same issue.
Any advice would be appreciated.

This is the terminal from docker

2022-12-07 15:06:54 s6-rc: info: service s6rc-oneshot-runner: starting
2022-12-07 15:06:54 s6-rc: info: service s6rc-oneshot-runner successfully started
2022-12-07 15:06:54 s6-rc: info: service fix-attrs: starting
2022-12-07 15:06:54 s6-rc: info: service fix-attrs successfully started
2022-12-07 15:06:54 s6-rc: info: service legacy-cont-init: starting
2022-12-07 15:06:54 s6-rc: info: service legacy-cont-init successfully started
2022-12-07 15:06:54 s6-rc: info: service legacy-services: starting
2022-12-07 15:06:54 services-up: info: copying legacy longrun home-assistant (no readiness notification)
2022-12-07 15:06:54 s6-rc: info: service legacy-services successfully started

It always gets stuck on

s6-rc: info: service legacy-services successfully started

This is in my docker-compose.yaml

  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - D:\_Docker\HomeAssistant:/config
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    privileged: true
    network_mode: host
 

Hi, based on ‘D:’ … are you installing in a Windows machine, this does not allow ‘host’ … hence not really recommended…meaning that the HA container works very good on host, without you may (will) see issues with a.o. the zigbee sticks/etc.

Yes this is on a windows computer, running docker. D: is a separate hard drive where I was planning on keeping the docker data to keep C: drive empty.
I wont be using any USB or zigbee sticks on this, So do you think that HA on docker, on windows will not work?

It should but try this ( I did not run compose before)

docker run -d -p 8123:8123 --privileged --volume "D:\_Docker\HomeAssistant:/config" --name homeassistant --restart:unless-stopped ghcr.io/home-assistant/home-assistant:stable

As host is not available on Windows docker you need to specify the port…