To make one, the best way is to put something which will withstand heat in the bottom of the first pan, which can support the weight of the second container, and on which you will pour water until covering it with approximately 1 to 2 cm (1 inch).
You can use a pie ring, as in the photograph, or a small baking tin or quite simply 2 teaspoons.