乐维建议你通过发行版建立Docker,
如果你使用的是 Mac OSX 乐维建议你利用 boot2docker, 你也可以使用*Vagrantfile* 创建一个_Docker_环境.
用Vagrantfile文件设置你得Docker环境
运行其中包含的 Vagrantfile 文件你需要安装VirtualBox 和 Vagrant . 实际中我使用了_VirtualBox_ 4.3.6 和_Vagrant_ 1.4.1.使用_Vagrantfile_ 构建一个最小化的_Ubuntu 64_ 操作系统_VirtualBox Guest Additions_ along with Docker and its dependencies. 第一次你需要执行vagrant up 完成安装和构建, 然后你执行vagrant reload去完成vagrant的重启.在完成这一切以后你只需要执行 vagrant ssh去ssh连接你得机器并且用which docker命令找到 Docker 所在位置
Be aware that the Vagrantfile depends on the version of VirtualBox and may run into problems if you don't have the latest versions.
创建Docker Zabbix 仓库.
Within an environment that is already running docker, checkout the docker-zabbix code to a known directory. If you are using the Vagrantfile, as mentioned above, it will be available by default in the/docker/docker-zabbix directory. From there you can execute a build and run the container.
e.g.