Downgrade from 2024.1.0 docker compose

I have run into several significant issues after upgrading from 2023.12.4 to 2024.1.0. Sonoff has documented issues and the new climate features will not work with existing automations. I need to downgrade ASAP. Is there a way to specify a specific version (2023.12.4) with a docker compose pull?

I also needed to downgrade because of the RCT Power Integration.

I edited my docker-compose.yml

homeassistant:
    container_name: homeassistant
    #image: "ghcr.io/home-assistant/home-assistant:stable" stable is 2024.1..
    image: "ghcr.io/home-assistant/home-assistant:2023.12.4"
    volumes:

and called

docker-compose pull 
docker-compose up -d

This worked for me.

After upgrading to 2024.12.5, I had to downgrade to 2024.4 due to the crappy and (as usual) badly documented incompatible changes to the HA file notification service.

Using docker run, the following worked for me to downgrade to 2024.4:
replace the stable tag by 2024.4, for instance

docker pull ghcr.io/home-assistant/home-assistant:2024.4
docker run -d   --name homeassistant   --privileged   --restart=unless-stopped   -e TZ=Europe/Berlin   -v ~/Per/3em:/config   --network=host   ghcr.io/home-assistant/home-assistant:2024.4