geerlingguy / geerlingguy/docker-examples

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

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
81
Forks
39
PR merge metrics
No merged PRs in 30d

Description

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 ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.