WordPress Container
A project for creating a modified WordPress container for use in Microsoft Azure.
Purpose
When running WordPress from a container in an Azure Web App for Containers in App Services, you need to add
some special instructions to the dockerfile
in order to be able to SSH into the containers from the Azure
portal.
Adding SSH Support - Information about adding the SSH support in the container image.
Example WordPress Docker File - This shows how WordPress
runs the docker-entrypoint.sh
file to startup. Based on that, we can override that in our own dockerfile
.
Build and Test
docker build -t cwiederspan/mywordpress:latest .
docker run -d --name mywordpress cwiederspan/mywordpress:latest
docker exec -it mywordpress /bin/bash
docker push cwiederspan/mywordpress:latest
Using the Container
TODO: Create a link to the Learn WordPress repository.
GitHub Actions
This project uses GitHub Actions and the pipeline.yml
file to build and push
this image to Docker Hub.
Follow Up
Email [email protected] for more information on this container and scenarios for usage.