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

On Demand Dev with Docker + WordPress @ WordCam...

emaildano
June 16, 2018
620

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.

emaildano

June 16, 2018
Tweet

Transcript

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

    Source) VirtualBox (Open Source) Ansible (Open Source)
  2. 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
  3. 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