So far as I know, the common usage is that a bucket or pail is a container for liquids ...

I have never used "pail" except when reciting Jack and Jill as a child. I would get a bucket of water.

In Scotland "bucket" is also used for what I would call a "bin" for rubbish (never garbage).