Dockerizing a PHP Application

In this tutorial, you will learn what Docker is and how to use it to create a portable image for your PHP applications. You’ll learn how to use Continuous Integration and Deployment (CI/CD) to build and deploy the image on Heroku.

Dockerizing your PHP Application is beneficial because:

  • Containers are portable and can be deployed instantly anywhere.
  • Containers bring developers a uniform and streamlined work environment that can be easily shared.
  • Containers are the first step towards running your application with high availability with Docker Swarm or Kubernetes.

After reading the tutorial you’ll know what Docker is and how it works. You’ll learn the ins and outs of combining Docker with PHP and how to use Continuous Integration and Delivery to test your application, build a container and deploy it.