> ## Content Index
> Fetch the complete content index at: https://www.binarysludge.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Ways of working in a Dockerfile
- URL: https://www.binarysludge.com/2014/05/29/dockerfile-best-practices-take-2/
- Published: 2014-05-29T11:13:17.000Z
- Updated: 2014-05-29T11:13:17.000Z
- Author: Andrew Martin
- Tags: #Import 2026-10-22 12:56

Two interesting and opposing takes on the single-process-per-container model of Docker deployment. The first contains some good general practices (especially concerning package updates), the second provides a more in-depth look at and mitigation of Docker's process management and exectution:

> Much has changed since my first Dockerfile best practices post. I'll leave the original post up for posterity and this post will include what has change and what you should do now.

via [Dockerfile Best Practices - take 2](http://crosbymichael.com/dockerfile-best-practices-take-2.html?ref=binarysludge.com). 

> You just built a container which contains a minimal operating system, and which only runs your app. But the operating system inside the container is not configured correctly. A proper Unix system should run all kinds of important system services. You're not running them, you're only running your app.

via [Baseimage-docker: A minimal Ubuntu base image modified for Docker-friendliness](http://phusion.github.io/baseimage-docker/?ref=binarysludge.com).