Simple wordpress install with alpine linux, apache2 and php7
Includes the latest wordpress download exploded in /var/www/localhost/htdocs
If you are pulling from docker via docker pull
or docker run
skip to the "Start the container:" section.
Download the source files.
Build the container:
docker build -t wordpress .
Start the container:
docker run -id --name wordpress -p 8080:80 awksed/wordpress-image
Apache is listening on port 80 of the container, so you will need to expose port 80.
Ports are in the format of:
<localhost port>:<container port>
example:8080:80
Point your browser to the http://host:port/ and run the setup.