Skip to main content
person working on Windows 11 computer

Fix “Error initializing Docker client: protocol not available” on Terraform for Windows with WSL2

This is a brief post on how I solved a problem using the kreuzwerker/docker Terraform provider on a Windows 11 laptop using WSL2 for Docker. I’ve been following an excellent tutorial on Udemy, More than Certified in Terraform, but the examples are presented on a Unix based OS (the tutor uses AWS Cloud9). To follow Read More

Tags: , , ,
Posted in Docker | 2 Comments »
A laptop development computer accessing a Web Server, running Apache HTTPD with PHP and a WordPress application files, which connects to a MySQL database.

How to use Docker Compose for WordPress Development

How to setup a simple WordPress development environment using Docker Compose. With detailed explanations and troubleshooting hints.

Tags: , , , , ,
Posted in Docker, WordPress | No Comments »

WordPress Development using Docker CLI

How to run development WordPress and MySQL using Docker CLI. An easy guide with troubleshooting tips to:

– create a MySQL database container,
– create a WordPress web server container,
– connect them with a user-defined bridge network,
– persist data in a named Docker volume, and
– attach a host folder to hold the WordPress installation.

Tags: , , , ,
Posted in Docker, WordPress | No Comments »
Screenshot of the Docker for Windows error popup window with the message "Firewall detected - A firewall is blocking file Sharing between Windows and the containers. See documentation (a link) for more info.

Unblock Docker for Windows Firewall Issues with Host Volumes

Docker for Windows complained it was blocked by my firewall when I tried to map a host directory to a Docker container volume. In this article I’ll describe the steps I tried and what finally worked. To be honest, it’s taken me a while to get around to playing with Docker for Windows again after Read More

Tags: , , , ,
Posted in Docker | 6 Comments »