Public Repository

Last pushed: 8 months ago
Short Description
Setting enviroment for z-cho project
Full Description

FROM hungnthero/centos69-lampp
MAINTAINER nguyen.trong.hung
RUN echo -e "Listen 6789\n<VirtualHost *:6789>\nDocumentRoot /var/www/html/z-cho/www\nServerName *:6789\n</VirtualHost>" >> /etc/httpd/conf/httpd.conf
CMD /etc/init.d/httpd start && /etc/init.d/mysqld start && /etc/init.d/memcached start && /bin/bash

how to run first time: docker run -it --name="z-cho" -p 8080:80 -p 6789:6789 -p 3306:3306 -v /c/projects/:/var/www/html/ hungnthero/z-cho-env
from 2nd time: docker start -ai z-cho
config before run: project forder be: C:/phpdev/Project/z-cho (setting shared folder in VmVirtualBox from C:\phpdev\Projects to c/project --Auto-mount && Make Permanent)

Docker Pull Command