The train was full of passengers.

Literal

Train [topic-は] passengers [instrumental-で] was-full.

で on 乗客で marks what the train was filled with — the filling/content reading of the instrumental particle. いっぱい ('full, packed') is a な-adjective that pairs naturally with the で pattern: [container]は[content]でいっぱい.