Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

镜像配置

php5.6

redisphp

pdo_mysql

yaf

apache

apache的vhost设置

localproj.yiban.cn -> /var/www/html/newprojects

localshetuan.yiban.cn -> /var/www/html/shetuan

github链接

https://github.com/hegoku/yiban_dev_env

mac & linux 运行

$ docker run -itd -p 80:80 --name web -v /本地网站目录:/var/www/html hegoku/yiban

win toolbox下配置

在virtual box里设置共享目录,名字为webroot

在虚拟机里执行:

$ mkdir -p /home/docker/web
$ mount -t vboxsf -o uid=1000,gid=50 webroot /home/docker/web

并将这两句加入 /var/lib/boot2docker/profile, 以便每次开机执行

然后在docker上运行:

$ docker run -itd -p 80:80 --name web -v /home/docker/web:/var/www/html hegoku/yiban
Docker Pull Command
Owner
hegoku

Comments (0)