phusion/baseimage
Ubuntu, plus modifications for Docker-friendliness, and solves the PID 1 zombie reaping problem
10M+
Learn more at the Github repository, including usage instructions.
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.
You can configure the stock ubuntu
image yourself from your Dockerfile, so why bother using baseimage-docker?
docker build
, allowing you to iterate your Dockerfile more quickly.Baseimage-docker only contains essential components. Learn more about the rationale.
docker exec
is inappropriate.
Learn more at the Github repository.
docker pull phusion/baseimage