What is the container that pours out the wine in restaurants called?

You're most likely talking about a Decanter.