1. Download the Docker Toolbox first:
http://get.daocloud.io/#install-docker-for-mac-windows
2. Download and install the git Windows client
The installation is all gone, all allowed.
Click
Start Docker if you see the following interface is displayed successfully:
The first time is slow, to install the default this system, after startup, you can open your virtual machine to see
Next , how to place the local engineering catalog in a Docker container environment :
Prior agreement: I created a new workspace directory on the e-disk:
Then I'll mount this directory under Docker's virtual machine: Add shared folders, settings-sharing
As already seen above, the shared folder is workspace:
Then execute the following command in default: Mount-t vboxsf workspace/data
And then, no, then.
Next, we'll mount the directory with the-V parameter:
Here is my local directory structure:
Then look at the DOCKER-COMPOSE.YML:
# development.ymlversion:'2'services:php-Fpm:image:jackluo/PHP-FPM:5.6.3restart:always Volumes:-/data/php/tanzi/www:/var/www/HTML-/data/php/tanzi/data:/usr/local/var/Log web:image:index.alauda.cn/library/nginx Restart:always Links:-php-FPM Volumes:-/data/php/tanzi/config:/etc/nginx/CONF.D-/data/php/tanzi/data:/var/log/nginx Volumes_from:-php-FPM Ports:- the: theExpose:- the
And then you can docker-compose up-d.
The installation is done.
Use Docker Toolbox to build a unified environment on Windows