Docker Articles

Setup Step Debugging in PHP with Xdebug 3 and Docker Compose

Setup Step Debugging in PHP with Xdebug 3 and Docker Compose

April 10, 2021

<div class="paragraph"> <p>In versions of Xdebug before version 3 setting up step debugging for code inside Docker containers has often been challenging to say the least. However, in version 3 it’s become almost trivial. In this short tutorial, I’ll step you through what you need to do, regardless of the (supported) text editor or IDE you’re using.</p> </div>

How to Go From Development to Deployment with Docker

April 31, 2017

Want to know how to both containerise an application AND deploy it to a production environment? In this mammoth tutorial, I’ll show you all the steps involved, and provide background information along the way, so you can build on what you’ll learn.

Deploying With Docker - Take 1, Or "Houston, We Have a Problem"

Deploying With Docker - Take 1, Or "Houston, We Have a Problem"

April 3, 2017

A little while ago, I wrote two parts in a multi-part series about using Docker. As someone who’s reasonably new to Docker — <strong>and</strong> been bitten by the Docker bug — I wanted to share what I’d learned, in the hopes that others may benefit.

How to Debug a Docker Compose Build

How to Debug a Docker Compose Build

April 18, 2017

If you’re using docker-compose to build a Docker container setup and something’s not working, here’s a basic process you can follow to find out what happened, and get your containers up and running properly.

How to Build a Docker Test Environment

April 27, 2016

Docker makes it easy to build local development environments. But, what about being able to build test environments and run acceptance, unit, functional, and other types of tests? In this, the second part of the developing with Docker series, I’ll show you how to implement testing using PHPUnit and Codeception in the configuration which we’ve built.

Whoops, I Forgot The Error Handler

April 20, 2016

Ever experienced HTTP 500’s, but found that your error logs are empty. Ever had no clue why or how this could be happening? Perhaps you forgot to enable the Whoops error handler.

How To Build a Local Development Environment Using Docker

April 29, 2016

Building a local development environment which mirrors production hasn’t, historically, been an easy task. But with Docker, it’s become, virtually, trivial. Come learn how to setup a local development environment using Docker for developing Zend Expressive (and other PHP) applications.