My understanding is that shipping containers are usually made of COR-TEN steel, which forms a protective layer when it does rust (similar to the protective oxide layers that form on aluminum and stainless steel). But considering the containers are exposed to sea salt spray pretty much continuously, it makes sense that the additional protection of a coat of paint is necessary.