12. It’s not a Virtual Machine
Virtual Machines
Docker Containers
13. Why Docker for WordPress
Development?
VM Docker Containers
Size 2GB+ 20MB+
Startup Speed a few minutes a few seconds
Reusable
Too big to check in
to source control
Dockerfile can easily
be checked in
14. Why Docker for WordPress
Development?
~/wordpress_dev/plugins
/var/www/html/wp-content/plugins
Container A
/var/www/html/wp-content/plugins
Container B
/var/www/html/wp-content/plugins
Container C
Mount local filesystem
15. Why Docker for WordPress
Development?
Describe how to build
the environment in a
Dockerfile
Commit Dockerfile to
source repository