We insulate our container homes which very effectively controls the heat and cold inside the Container Home.  A Large chunk of the building cost is exclusively for insulation of the interior.

Another way to control the temperature is to put a roof over the entire structure.  This not only controls the interior temperature, but helps protect the containers from the weather.