Snowpiercer

AD 2031, the passengers in the train are the only survivors on Earth.

In a future where a failed global-warming experiment kills off most life on the planet, a class system evolves aboard the Snowpiercer, a train that travels around the globe via a perpetual-motion engine.

Image source: themoviedb.org