docker-examples icon indicating copy to clipboard operation
docker-examples copied to clipboard

why a 'data' container in the php+nginx example ?

Open vinceskahan opened this issue 7 years ago • 0 comments
trafficstars

I was curious why your nginx+php-fpm example uses a separate 'data' container based on busybox to provide the volumes. When I run the example via docker-compose the data container exits immediately, but the volumes work fine between nginx and the php-fpm container of course. This isn't a pattern I've seen documented before, is there a particular reason for the third tiny container ?

vinceskahan avatar Mar 07 '18 00:03 vinceskahan