Docker unable to create traefik service

I'm trying to follow this guide: Swarm Mode Cluster | Traefik | v1.7
But during deploy-traefik command loop forever:
docker service create --name traefik --constraint=node.role==manager --publish 80:80 --publish 8080:8080 --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock --network traefik-net traefik:latest --docker --docker.swarmMode --docker.domain=traefik --api

overall progress: 0 out of 1 tasks
verify: Detected task failure

Traefik v1 is long deprecated, we are currently on v2, soon v3.

Configuration changed since v1, so check the new docs and simple Traefik Swarm example.