Upgrade to Pro — share decks privately, control downloads, hide ads and more …

On Demand Dev with Docker + WordPress @ WordCamp Europe 2018

77ea5053277016d84181992646105c5b?s=47 Daniel Olson
June 16, 2018
220

On Demand Dev with Docker + WordPress @ WordCamp Europe 2018

Learn how to leverage the power and simplicity of Docker containers with WordPress to build a highly customizable and easy to managed development environment. This workshop will cover using Docker with Docker Compose, combining prebuilt containers, and best practices while using these tools specific to WordPress.

77ea5053277016d84181992646105c5b?s=128

Daniel Olson

June 16, 2018
Tweet

Transcript

  1. None
  2. WordCamp Europe Workshop

  3. Daniel Olson

  4. Zach Gieske

  5. None
  6. None
  7. None
  8. Workshop Preparation Check

  9. Prep Check

  10. Git Clone Workshop Examples

  11. Part 1

  12. The State of Local Dev

  13. The State of Local Dev MAMP (freemium) DesktopServer (freemium)

  14. The State of Local Dev

  15. The State of Local Dev XAMPP (Open Source)

  16. The State of Local Dev

  17. The State of Local Dev Vagrant (Open Source) Docker (Open

    Source) VirtualBox (Open Source) Ansible (Open Source)
  18. The State of Local Dev

  19. The State of Local Dev

  20. The State of Local Dev

  21. The State of Local Dev

  22. Part 2

  23. Part 3

  24. Part 4

  25. None
  26. What is Docker?

  27. What is Docker?

  28. What is Docker?

  29. Part 5a

  30. Part 5a

  31. Part 6

  32. Docker Grammar

  33. Docker Grammar

  34. Docker Grammar

  35. Docker Grammar

  36. Demo 1

  37. Commands Description docker-compose ps List Containers docker-compose up -d Create

    and start detached containers docker-compose stop Stop running containers docker-compose rmi Remove container images docker-compose restart Restart services docker-compose kill Force stop service containers docker-compose up -d --force-recreate Force recreate containers docker stop $(docker ps -a -q) Stop all containers docker rm -f $(docker ps -a -q) Remove all containers docker rmi -f $(docker images -q) Delete all images docker system prune --all Remove unused images docker volume rm $(docker volume ls -qf dangling=true) Remove volumes
  38. Docker: Hello World

  39. Docker: Hello World

  40. Docker: Hello World

  41. Docker: Hello World

  42. Docker: Hello World

  43. Docker: Hello World

  44. Demo 2

  45. Docker Compose: Hello World

  46. Docker Compose: Hello World

  47. Docker Compose: Hello World

  48. Docker Compose: Hello World

  49. Docker Compose: Hello World

  50. Docker Compose: Hello World

  51. Docker: Hello World

  52. Docker: Hello World

  53. Demo 3

  54. Docker Compose: WordPress

  55. Docker Compose: WordPress

  56. Docker Compose: WordPress

  57. Docker Compose: WordPress

  58. Docker Compose: WordPress

  59. Docker Compose: WordPress

  60. Docker Compose: WordPress

  61. Walkthrough

  62. Walkthrough

  63. Walkthrough

  64. Customize Settings

  65. Docker Compose: WordPress

  66. Docker: Hello World

  67. Docker: Hello World

  68. Commands Description docker-compose ps List Containers docker-compose up -d Create

    and start detached containers docker-compose stop Stop running containers docker-compose rmi Remove container images docker-compose restart Restart services docker-compose kill Force stop service containers docker-compose up -d --force-recreate Force recreate containers docker stop $(docker ps -a -q) Stop all containers docker rm -f $(docker ps -a -q) Remove all containers docker rmi -f $(docker images -q) Delete all images docker system prune --all Remove unused images docker volume rm $(docker volume ls -qf dangling=true) Remove volumes
  69. None