Skip to content
Web Design & Development

A Practical Guide to Containers for Web Apps

Packaging an application with its dependencies so it runs the same way on every machine.

MediaScaleUp Editorial Team 2 min read 15 views
A Practical Guide to Containers for Web Apps

The key figures

Images
bundle application code and dependencies
Registries
store and distribute images
Base images
need regular updates for security patches
Orchestration
managing many containers requires additional tooling

Why this is worth getting right

Containers remove environment differences between developers and production, but they add their own operational concerns.

Do this, not that

Do

  • Pin base image versions
  • Rebuild images to pick up security updates
  • Keep images small
  • Run containers as non-root users
  • Scan images for vulnerabilities

Don’t

  • Latest tags in production
  • Secrets baked into images
  • Huge images with build tools included
  • Containers running as root

When to bring in help

Our advice Bring in help when moving applications into containers.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Web Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in Web Design & Development