Setting up a local WordPress installation involves multiple steps and sometimes can be very cumbersome. Usually you need to setup a local web server (w.g. Apache), configure the server to be able to execute PHP code, and setup a MySQL database. Of course you can use pre-build bundles like MAMP for MacOS or XAMPP for Windows to get all those components on your system. However the most easiest way to setup a local WordPress environment is to use containerization with Docker.
In this tutorial you’ll learn how to make use of Docker Images, Containers and Services to setup a complete local WordPress environment. This environment can then be used for testing, programming, or training purposes. E.g. you can use that testing environment to setup a copy of your production WordPress site and test any critical updates of WordPress itself, plugins etc.
☞ Dockerizing a Node.js web application
☞ Deploying a python-django application using docker
☞ Getting started with Docker Compose
☞ Deploying a Node 12 Function to Cloud Run
☞ Docker for front-end developers
☞ Kubernetes Tutorial: How to deploy Gitea using the Google Kubernetes Engine
☞ An Introduction to Kubernetes: Pods, Nodes, Containers, and Clusters
☞ 10 docker-compose and docker commands that are useful for active development
#docker #wordpress