Running end-of-life apps using Docker

If there’s one use-case that Docker’s repeatedly proven itself on (to me, anyway), it’s the ability to run really old software in a modern environment. The chaos monkey/hyperscale stuff is nice, but:

FROM jeanblanchard/java:jre-7

COPY BuiltIn2012.jar /server.jar


CMD ["/opt/jre/bin/java", "-Xmx300m", "-jar", "/server.jar"]

That’s magic.

A real lifesaver when one of your projects involves running an app last maintained in 2014 (PHP 5.3, MySQL 5.5, and Java 1.7) – turns out there are absolute legends out there maintaining images for these really old versions of things, making it trivial to spin up legacy applications on modern hardware.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: