Container added to the Service Network but not detected by traefik hub

Good evening,

first of all thank you for this interesting service and the idea.

I just noticed that Traefik Hub does not notice when you add a container to the service network. It seems that you always have to restart Traefik Hub in order for it to recognize that the container is now accessible from the Traefik container.

Best regards,

Bjoern

Hey Bjoern,

thanks for the report :slight_smile: Im actually not sure if that is a Traefik Hub behaviour or a Docker behaviour. Im not sure how the network is bound, when a container enters the network. I would guess, that we just use the information from the docker API and thus, it might require the restart.

Anyways, I'll see if we can dig something up here :+1:

Hey Bjoern,

Thank you for your interest in Traefik Hub.
With the team, we haven't been able to reproduce your issue.

Please note that, when you are using Docker Swarm, the service discovery can last up to one minute.
Can you make it a try by waiting one minute before restarting traefik Hub?

If it still doesn't work, could you share your configuration, please?

Thanks in advance.