Unable to install with docker or docker compose

Hello,

I have a freshly installed Debian 11 and docker on a dedicated HP office desktop. I want to migrate from my laptop.

I am unable to get HA running with docker. I get 503 Service unavailable response.

I am following the official install guide. I have installed HA exactly like this a few days ago on my windows laptop via VM Player virtual machine with Debian 11.

compose.yaml:

version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /HACFG:/config
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    privileged: true
    network_mode: host
jurek@HAjz:~/syscfg$ sudo docker compose up -d
[+] Running 0/1
 ⠿ homeassistant Error                                                     1.5s
Error response from daemon: received unexpected HTTP status: 503 Service Unavailable

docker:

jurek@HAjz:~/syscfg$ sudo docker run -d   --name homeassistant   --privileged   --restart=unless-stopped   -e TZ=Europe/Ljubljana   -v /HACFG:/config   --network=host   ghcr.io/home-assistant/home-assistant:stable
Unable to find image 'ghcr.io/home-assistant/home-assistant:stable' locally
docker: Error response from daemon: received unexpected HTTP status: 503 Service Unavailable.

What am I missing? Thanks for your help.

Nevermind, it started working. Must have been a server error.