Public Repository

Last pushed: 2 years ago
Short Description
Centos5 Final(Yum Update + LAMP) with PHP52
Full Description

Pull Docker Image & Run:
docker pull comit/centos5up-lamp_php52
docker run -d -p 22 -p 80:80 comit/centos5up-lamp_php52

Check Port number which map to 22:
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d5f86f01ae37 comit/centos6up-lamp:latest /bin/sh -c '/usr/sbi 5 seconds ago Up 2 seconds 0.0.0.0:80->80/tcp, 0.0.0.0:49174->22/tcp goofy_wilson

Check VM's IP Address:
boot2docker ip
The VM's Host only interface IP address is: 192.168.59.103

SSH and start services:
ssh root@192.168.59.103 -p 49174 # Pass: root
/etc/init.d/httpd start
/etc/init.d/mysqld start
Mysql account: root/root

Now access to http://192.168.59.103 from Host OS

Docker Pull Command
Owner
comit

Comments (0)