Docker by Example, a Symfony2 Multi-Container App
summary
A step-by-step demo builds a Symfony2 application as multiple Docker images (base, php5-fpm, nginx, mysql, plus a data container) using Dockerfiles and a shell script. It shows mounting the host project into containers for immediate code edits, linking containers with Docker links, sharing persistent volumes, and layering images; a small init script runs php/nginx/mysql so the app responds over HTTP on the mapped port.
AI-written summary · about
