First Steps with Docker
summary
Demonstrates running nginx, php-fpm, and MySQL as Docker containers to eliminate “works on my machine”: uses docker run with -v and -p and --rm to mount code and expose ports, builds a custom image via a Dockerfile to add PHP extensions, and wires services with docker-compose. Shows using a host volume so MySQL data persists across compose down, pushes the image to a local registry, and runs the stack to serve index.php successfully.
AI-written summary · about
chapters (9)
- 0:00Workshop intro
- 12:31Why containers and Docker
- 22:11VMs to containers
- 30:38First PHP container
- 37:43Nginx with PHP-FPM
- 44:58Docker Compose
- 59:55Data and config storage
- 1:07:33Private Docker Registry
- 1:14:22Debugging containers








