Docker Unofficial Image for Wordpress with extra configurations
519
4.9.1-php7.1-apache-higher4.9.1-php7.1-apache4.9.0-php7.1-apache-higher4.9.0-php7.1-apache4.8.1-php7.1-apache4.7-php5.6-apache$ docker run --name some-wordpress --link some-mysql:mysql -d pedrogoncalvesk/wordpress
You can use this image with custom runtime commands. Use the template below (apache2-custom file) and run the following commands:
apache2-custom file:#!/bin/sh
set -e
## GET YOUR THEME HERE
echo "Theme installed!";
echo "Executing apache2-foreground";
# Force wp-content accessible for www-data user
chown -R www-data:www-data /var/www/html/wp-content
# Execute apache
exec "apache2-foreground"
$ docker run --name some-wordpress --link some-mysql:mysql -v /path/to/apache2-custom:/usr/local/bin/apache2-custom:ro -d pedrogoncalvesk/wordpress
This repository is licensed under MIT License Copyright (c) 2017. See LICENSE for further details.
Free Software, Hell Yeah!!
Content type
Image
Digest
Size
193.1 MB
Last updated
over 8 years ago
docker pull pedrogoncalvesk/wordpress