1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

Add an excerpt about multiple processes

This commit is contained in:
Hongli Lai (Phusion) 2013-11-12 12:54:42 +01:00
parent 719993da92
commit c214fffe46
No known key found for this signature in database
GPG Key ID: 06A131094B6F4332

View File

@ -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 * **Twitter**: https://twitter.com/phusion_nl
* **Blog**: http://blog.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? 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. 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 ## Using baseimage-docker as base image
The image is called `phusion/baseimage`, and is available on the Docker registry. The image is called `phusion/baseimage`, and is available on the Docker registry.