A Yang Ming containership that lost dozens of boxes off Australia's east coast in early June was caught in gale-force winds, an initial government report shows.

The 4,250-teu YM Efficiency (built 2009) was battling winds of up to 47 knots amid 5-foot swells for at least two hours in the wee hours of 1 June, according to the Australian Transport Safety Bureau report.