Public Repository

Last pushed: a year ago
Short Description
Lamp (Apahe/PHP/MYSQL) Stack with SSH access
Full Description

Start Container

docker run --privileged=true -d -P -t --name lamp boxscale/centos7-lamp

Login via ssh

To login via ssh read here https://hub.docker.com/r/boxscale/centos7-ssh

Start Apache

/usr/sbin/httpd $OPTIONS -DFOREGROUND &

PHP Info

http://<ip address of container>/testphp.php

Start MYSQL DB

/usr/bin/mysqld_safe &

Login to Mysql

mysql -u root -p
password = boxscale2016

View IP Address of docker container

ifconfig -a (in container)

docker inspect <container id> (if outside container on host system)

Check http port

http://ip address of container or use wget http://localhost in container

Docker Pull Command
Owner
boxscale

Comments (0)