Which containers to boil dulce de leche for 7 hours?
This is exactly what Mason Jars are for.  They're glass, so they can stand long periods of heat without leaching, and are designed to be boiled.  Unlike a can, I'd suggest leaving the lid secured loosely so that it can bleed off pressure.