Those who fly often have long been accustomed to the restrictions that you can not take any liquids on board the aircraft in any containers with a volume of more than 100ml. But officially the rule goes like this:
In practice, this rule is applied in most airports so that any empty containers for liquid at pre-flight inspection can be seized and forced to throw out. Plastic water bottles, which you may want to fill from the drinking fountains in the waiting area, will also be sent to the trash, and may even require you to throw out an empty thermos, although this rarely happens.
Of course, they will take away an empty bottle from you at the pre-flight inspection, largely depends on the specific airport and even the specific security officer, because sometimes they miss even filled bottles and dangerous items by negligence, but still keep in mind that such things are best put in your luggage so as not to unexpectedly say goodbye