Different images in containers
<p>I want to create separated containers with a single service in each (more or less). I am using the <a href="https://github.com/docker-library/php/blob/0d23b3d08770889c6cb31e8e5374334879103f92/7.0/apache/Dockerfile" rel="nofollow">php7-apache</a> image which seems to use a base image of <code>debian:jessie</code>, <code>php7</code> and <code>apache</code>. Since apache and php in this case are pretty intertwined I don't mind using this container.</p>

<p>I want to start adding other services to their own containers (git for example) and was considering using a tiny base image like <code>busybox</code> or <code>alpinebox</code> for these containers to keep image size down.</p>

<p>That said, I have read that using the same base image as other containers only gives you the 'penalty' of the one time image download of the base OS (debian jessie) which is then cached - while using tiny OSes in other containers will download those OSes on top of the base OS.</p>

<p>What is the best practice in this case? Should I use the same base image (debian jessie) for all the containers in this case?</p>