Multiples containers with same IP Address

I am looking to do something like in this video: https://youtu.be/7A1yrLRNIp0?t=1317
I can see that multiple containers are sharing the same IP Address (a public routable one) and it works like an anycast service.

I know how anycast works and all of that, what I want to know is how it works in this context, or if there is BGP/OSPF running on those containers?