appirio-tech/docker-wordpress-nginx

Name: docker-wordpress-nginx

Owner: Topcoder

Description: A Dockerfile that installs the latest wordpress, nginx and php-fpm.

Forked from: eugeneware/docker-wordpress-nginx

Created: 2015-11-10 22:14:41.0

Updated: 2015-11-10 22:14:42.0

Pushed: 2015-07-10 07:13:52.0

Homepage: null

Size: 336

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

docker-wordpress-nginx

A Dockerfile that installs the latest wordpress, nginx, php-apc and php-fpm.

NB: A big thanks to jbfink who did most of the hard work on the wordpress parts!

You can check out his Apache version here.

Installation

The easiest way to get this docker image installed is to pull the latest version from the Docker registry:

cker pull eugeneware/docker-wordpress-nginx

If you'd like to build the image yourself then:

t clone https://github.com/eugeneware/docker-wordpress-nginx.git
 docker-wordpress-nginx
do docker build -t="eugeneware/docker-wordpress-nginx" .
Usage

To spawn a new instance of wordpress on port 80. The -p 80:80 maps the internal docker port 80 to the outside port 80 of the host machine.

do docker run -p 80:80 --name docker-wordpress-nginx -d eugeneware/docker-wordpress-nginx

Start your newly created docker.

do docker start docker-wordpress-nginx

After starting the docker-wordpress-nginx check to see if it started and the port mapping is correct. This will also report the port mapping between the docker container and the host machine.

do docker ps

0.0:80 -> 80/tcp docker-wordpress-nginx

You can the visit the following URL in a browser on your host machine to get started:

://127.0.0.1:80

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.