[ external image ]
I think the quick, dirty, effective solution is to separate just the four cylindrical bits into a separate piece/part and use two variants for the trailer chassis: with the middle part for two containers; and without for the single, long container.
While we're here, ISO containers have standardized dimensions...

[ external image ]