The Shulchan Aruch · Orach Chayim
אורח חיים קנ״טOrach Chayim 159
Siman 159 of 697 in Orach Chayim — 20 se'ifim
הלכות נטילת ידיםLaws of Washing One's Hands for a Meal· siman 159
Se’if 1א׳
אֵין נוֹטְלִים לַיָּדַיִם אֶלָּא בִּכְלִי; וְכָל הַכֵּלִים כְּשֵׁרִים, וַאֲפִלּוּ כְּלֵי גְּלָלִים (פי' כֵּלִים עֲשׂוּיִים מֵרֶפֶשׁ בָּקָר וְעָפָר), וּכְלֵי אֲבָנִים, וּכְלֵי אֲדָמָה; וְצָרִיךְ שֶׁיְּהֵא מַחֲזִיק רְבִיעִית; וְאִם נִקַּב בְּכוֹנֵס מַשְׁקֶה, דְּהַיְנוּ שֶׁאִם יָשִׂימוּ אוֹתוֹ עַל מַשְׁקִים יִכָּנְסוּ בְּתוֹכוֹ דֶּרֶךְ הַנֶּקֶב, וְהוּא גָּדוֹל מִנֶּקֶב שֶׁהַמַּשְׁקִים שֶׁבְּתוֹךְ הַכְּלִי יוֹצְאִים בּוֹ, אָז בָּטֵל מִתּוֹרַת כְּלִי וְאֵין נוֹטְלִים מִמֶּנּוּ לַיָּדַיִם וַאֲפִלּוּ אִם הוּא מַחֲזִיק רְבִיעִית מִן הַנֶּקֶב וּלְמַטָּה.
Which vessels can you wash your hands with and how to pour the water on your hands. 26 parts: Only wash your hands with a vessel. All vessels are kosher for this, even galalim vessels [vessels made from cow feces and dust ], stone vessels, and earthenware vessels. The vessel must be able to hold a reviis of liquid. If there is a hole/crack in the vessel [that is, if you put the vessel in liquid, the liquid will enter it through the crack and that crack is bigger than a crack that lets water out], then the vessel is no longer considered a vessel and you shouldn't use it to wash your hands. This is so even if the vessel could hold a reviis of liquid below the crack.
Se’if 2ב׳
וְהָנֵי מִילֵי שֶׁנּוֹטֵל בְּדֶּרֶךְ פִּיו לְמַעְלָה, שֶׁמַּה שֶּׁמִּמֶּנּוּ מִן הַנֶּקֶב וּלְמַעְלָה אֵינוֹ חָשׁוּב כִּכְלִי, וְנִמְצָא שֶׁאֵין הַמַּיִם בָּאִים עַל יָדוֹ מֵהַכְּלִי; אֲבָל אִם נוֹטֵל דֶּרֶךְ הַנֶּקֶב, שָׁרֵי, כֵּיוָן שֶׁמַּחֲזִיק רְבִיעִית מִמֶּנּוּ וּלְמַטָּה.
The above applies when you pour from the mouth of the vessel above the hole/crack, because water above the crack is not considered to be in a vessel, so the water isn't pouring onto your hands from a vessel. However, if you pour from the crack, it is permitted since the vessel can hold a reviis under the crack.
Se’if 3ג׳
כְּלִי שֶׁמַּחֲזִיק רְבִיעִית כְּשֶׁסוֹמְכִים אוֹתוֹ, וְאִם לֹא יִסְמְכוּהוּ יִשָּׁפְכוּ הַמַּיִם וְלֹא יִשָּׁאֵר בּוֹ רְבִיעִית, אֵינוֹ כְּלִי; הִלְכָּךְ, מְגוּפָה שֶׁל חָבִית שֶׁהִיא חַדָּה וְאֵינָהּ מְקַבֶּלֶת רְבִיעִית שֶׁלֹּא מְסֻמֶּכֶת, אֵין נוֹטְלִים מִמֶּנָּה; וְאִם הִרְחִיבָה מִלְּמַטָּה עַד שֶׁמְּקַבֶּלֶת רְבִיעִית כְּשֶׁהִיא יוֹשֶׁבֶת שֶׁלֹּא מְסֻמֶּכֶת, נוֹטְלִים מִמֶּנָּה.
A vessel that holds a reviis when it is propped up (by something else) and if it is not propped up will pour out the water so that not even a reviis of water remains in it is not a vessel. Therefore, the body of a (rounded) single piece barrel that doesn't hold a reviis when it is not supported should not be used to wash with. If it is wide enough on the bottom that it does hold a reviis while unsupported, you can wash with it.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0