Public Repository

Last pushed: a year ago
Short Description
USAGE: docker run -d -p 8080:80 buraphacloud/apache /usr/sbin/apache2ctl -D FOREGROUND
Full Description

Link with MariaDB : USAGE:
1) Create buraphacloudDB
docker run --name buraphacloudDB -e MYSQL_ROOT_PASSWORD=buraphacloud -d mariadb
2) Link with buraphacloud/apache (Apache + PHP)
docker run --name buraphacloudApp --link buraphacloudDB:mysql -e MYSQL_ROOT_PASSWORD=buraphacloud -d -p 8080:80 buraphacloud/apache /usr/sbin/apache2ctl -D FOREGROUND
3) Check Linking
3.1) export TERM=xterm (Set terminal)
3.2) docker exec -it buraphacloudDB bash (Set PASSWORD when running buraphacloudApp)
3.3) mysql -u root -pburaphacloud

4) Another Example : Wordpress
4.1) docker run --name buraphacloudDB -e MYSQL_ROOT_PASSWORD=buraphacloud -d buraphacloud/mariadb:wordpress
4.2) docker run --name buraphacloudApp --link buraphacloudDB:mysql -p 8080:80 -d wordpress

Docker Pull Command
Owner
buraphacloud

Comments (0)