Knowledgebase

Running Containers in Development Print

  • devopsinfrastructure, devops, database, caching, performance, troubleshooting, guide, howto
  • 0

Consistent local environments.

WHAT IT SOLVES

Every developer running the same versions of everything.

WHAT THAT ELIMINATES

"It works on my machine."

WHAT TO DEFINE

The application and its supporting services, in a committed file.

WHAT THAT USUALLY INCLUDES

The application A database A cache, where used A queue, where used

WHAT TO MOUNT

Your source code, so changes appear without rebuilding.

WHAT TO PERSIST

Database data, so it survives restarts.

WHAT TO KEEP OUT

Secrets, which come from local environment files excluded from version control.

WHAT THIS ENABLES

A new person running the full stack in minutes.

WHAT TO DOCUMENT

The commands to start, stop and reset.

WHAT TO BE CAREFUL WITH

Performance of mounted files on some systems Resource use, which can be substantial

WHAT TO PROVIDE

A way to reset to a clean state.

WHY

So a broken local environment is fixed in a minute rather than an afternoon.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot