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

Update Readme

This commit is contained in:
Hongli Lai (Phusion) 2014-07-13 01:31:14 +02:00
parent b9d75d899d
commit 2fa47a225b
No known key found for this signature in database
GPG Key ID: 2AF96EB85EF4DA0D

View File

@ -6,7 +6,7 @@ Baseimage-docker is available for pulling from [the Docker registry](https://ind
### What are the problems with the stock Ubuntu base image?
Ubuntu is not designed to be run inside docker. Its init system, Upstart, assumes that it's running on either real hardware or virtualized hardware, but not inside a Docker container. But inside a container you don't want a full system anyway, you want a minimal system. But configuring that minimal system for use within a container has many strange corner cases that are hard to get right if you are not intimately familiar with the Unix system model. This can cause a lot of strange problems.
Ubuntu is not designed to be run inside Docker. Its init system, Upstart, assumes that it's running on either real hardware or virtualized hardware, but not inside a Docker container. But inside a container you don't want a full system anyway, you want a minimal system. But configuring that minimal system for use within a container has many strange corner cases that are hard to get right if you are not intimately familiar with the Unix system model. This can cause a lot of strange problems.
Baseimage-docker gets everything right. The "Contents" section describes all the things that it modifies.
@ -81,8 +81,6 @@ You can configure the stock `ubuntu` image yourself from your Dockerfile, so why
Baseimage-docker is very lightweight: it only consumes 6 MB of memory.
It also works around Docker bug.
<a name="docker_single_process"></a>
### Wait, I thought Docker is about running a single process in a container?