Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

lof-wordpress

Using the base wordpress "latest" installation with some .htaccess and zip archive modifications for duplicator use

####Start

lorcano-> 
boot2docker up

####Configure host

lorcano-> 
export DOCKER_HOST=tcp://192.168.59.103:2375

####Connect

lorcano-> 
boot2docker ssh

####Download MySQL Image

docker@boot2docker:~$
docker pull mysql:latest

####Download Wordpress image

docker@boot2docker:~$
docker pull lof-wordpress:latest

####Run MySQL

docker@boot2docker:~$
docker run --name mysql-landing -e MYSQL_ROOT_PASSWORD=1234qwer -d mysql:latest

####Run Wordpress & link MySQL using defaults

docker@boot2docker:~$
docker run --name wordpress-landing -e WORDPRESS_DB_PASSWORD=1234qwer --link mysql-landing:mysql -p 80:80 -d lorcanoflynn/lof-wordpress

####Connect Interactively
Note: This may be required to make configuration changes while in development
Note: Once you exit your container is terminated

docker run --name wordpress-landing -e WORDPRESS_DB_PASSWORD=1234qwer --link mysql-landing:mysql -p 80:80 -i -t lorcanoflynn/wordpress-delta /bin/bash

######Start Apache inside container (Required when you connect interactively)
Note: Auto start does not occur when you connect interactively using the method above

root@946a9af41a89:/var/www/html#
service apache2 start

####Open wordpress

lorcano->
open http://$(boot2docker ip 2>/dev/null)/
Docker Pull Command
Owner
lorcanoeire
Source Repository

Comments (0)