A basic WordPress Docker container for manual testing plugins and themes
You need to have a local installation of the Docker Engine and Docker Compose to use these images on your computer.
- Clone this directory.
- Copy the plugins and themes you want to use in the
plugins
andthemes
folders respectively. - In a terminal, enter the following command from inside the
wp-container
folder:docker-compose up -d
. (Note: If your OS is a Linux distribution, you may have to run this command with root privileges, check for details in docker's official documentation ). - Open your browser and browse the following url:
http://localhost:8000
- Follow the steps of WordPress' 'five minutes installation'.
- Go to Plugins > Installed Plugins and activate the plugins you want to use.
- Go to Appearance > Themes and select the theme you want to use.
- After you've finished using this container, remove it by using the command:
docker-compose down --volumes
. This will destroy the container and then all created data will be lost.