If the hose constantly falls out of the barrel, it is enough to tie it into such a knot

 

v20240901