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:
parent
719993da92
commit
c214fffe46
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user