Containing something isn't the same as defeating it. Even when contained by a circle of rocks, the fire would continue to burn, only stopping once its fuel is depleted.
Really, most anything can be used to put out a fire, the question is, is the method practical?
Water? Used frequently in...