Traefik stops working, it uses old API version 1.24

Yes, sorry - Docker Desktop For Windows

4.52 and 4.53 ( latest version ) now both work after I update Traefik 3.4 -> 3.6.2

Thanks @dezaley, your suggestion worked for me. The script below resolves the issue on my VPS:

################################################################################################# 
# Article: Traefik stops working, it uses old API version 1.24                                  #
# Link https://community.traefik.io/t/traefik-stops-working-it-uses-old-api-version-1-24/29019  #
#################################################################################################

echo "[SERVICES] Stopping container services"

sudo systemctl stop docker
sudo systemctl stop containerd
echo "== DONE =="

echo "[APT] Downgrade docker-ce noble downto 5:28.5.2.1"
# For Ubuntu 24.04 LTS
sudo apt-get install docker-ce=5:28.5.2-1~ubuntu.24.04~noble \
                     docker-ce-cli=5:28.5.2-1~ubuntu.24.04~noble \
                     docker-ce-rootless-extras=5:28.5.2-1~ubuntu.24.04~noble \
                     containerd.io=1.7.28-2~ubuntu.24.04~noble

# Continue Ubuntu updates while keeping Docker unchanged
sudo apt-mark hold docker-ce docker-ce-cli docker-ce-rootless-extras containerd.io
echo "== DONE =="

echo "[SERVICES] Starting container services"
sudo systemctl start containerd
sudo systemctl start docker

docker --version


echo "⚠️  Restart all containers with"
echo '✨  docker restart $(docker ps -q)'

Why would you do that? Why not simply use latest Docker and latest Traefik?