Docker & PHP development and deployment
summary
Practical workflow: run PHP 7 and PHP 5 side‑by‑side from official images, compose nginx + PHP‑FPM + MongoDB as separate containers, build a reusable Symfony base image, and push versions to Docker Hub with automated builds. Development uses Docker Machine (NFS for fast mounts) and Docker Compose for multi‑container stacks; CI/CD runs tests and rebuilds via Travis CI and triggers deploys. Caveats: containers are non‑persistent (use volumes), disk garbage accumulates, and ecosystem tooling and uptime still change rapidly.
AI-written summary · about
chapters (10)
- 0:00Intro
- 2:04WHAT MAKES DOCKER SO GOOD?
- 6:23HOW TO DEVELOP?
- 8:08RUNNING DOCKER MACHINE
- 10:53USE CASE #1 TESTING PHP7
- 16:10USE CASE #2 PHP APPLICATION
- 21:40RUNNING PHP APPLICATION
- 24:19HOW TO DEPLOY?
- 34:39ARE THERE ANY THREATS?
- 38:04WRAP UP
related talks
02h 14mRunning PHP in Docker containers
31mHow to Create PHP Development Environments with Docker Compose
25mDocker for PHP Developers
52mDocker: Multi-Stage and Multi-Environment -php2019
46mDocker, Kubernetes, and OpenShift for PHP Developers
46mContainerization for Software Developers
01h 16mFirst Steps with Docker
42mServerless: a backend thing that gives superpowers to frontend developers
