If one container is badly damaged from corrosion or outside physical damage, then you just select a better one. Heavily damaged or otherwise unserviceable containers are recycled in any event. What's left are very sturdy aluminum or steel containers you can put together and customize at an affordable price.
I looked into this customization and there are several web-based companies that deal with all aspects of Intermodal container conversion into housing. It's not for everyone, but there are opportunities to be had here.
http://www.freerepublic.com/focus/f-news/2812576/posts
Oil Rigs Bring Camps of Men to the Prairie (Oil Jobs but no Housing in ND)