From c214fffe46c229f2b4b11af197b838545200a329 Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion)" Date: Tue, 12 Nov 2013 12:54:42 +0100 Subject: [PATCH] Add an excerpt about multiple processes --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 36afa73..4e9f025 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Baseimage-docker is a [Docker](http://www.docker.io) image meant to serve as a g * **Twitter**: https://twitter.com/phusion_nl * **Blog**: http://blog.phusion.nl/ -### Why should I use baseimage-docker? +### Why use baseimage-docker? Why use baseimage-docker instead of doing everything yourself in Dockerfile? @@ -40,6 +40,12 @@ To look around in the image, run: You don't have to download anything manually. The above command will automatically pull the baseimage-docker image from the Docker registry. +### Wait, I thought Docker is about running a single process in a container? + +Absolutely not true. Docker runs fine with multiple processes in a container. In fact, there is no technical reason why you should limit yourself to one process - it only makes things harder for you and breaks all kinds of essential system functionality, e.g. syslog. + +Baseimage-docker *encourages* multiple processes through the use of runit. + ## Using baseimage-docker as base image The image is called `phusion/baseimage`, and is available on the Docker registry.