Working with Docker Tooling
This topic describes the procedures for working with Docker Tooling in Zend Studio, including how to establish a connection between Zend Studio and Docker, and pulling and running a Docker image in Zend Studio.
Prerequisites
- Installed Docker plugin
- Installed and correctly configured DockerNote: For Windows and Mac OS X, make sure Boot2Docker is up and running before attempting the following procedures. 
 Connecting Zend Studio to Docker
Connecting Zend Studio to Docker
                                This procedure describes how to establish a connection between Zend Studio and the Docker daemon.
| 
 | 
 | 
| 
                                                     | To connect Zend Studio to Docker: 
 
 
 | 
| 
 | |
 Pulling Docker Images
Pulling Docker Images
                                This procedure describes how to pull a Docker image from the Docker hub from within Zend Studio.
| 
 | 
 | 
| 
                                                     | To pull a Docker image: 
 
 | 
| Note: Depending on the size of the image, the pulling process may take a while. | |
 Running Docker Images
Running Docker Images
                                This procedure describes how to run a Docker image in Zend Studio.
| 
 | 
 | 
| 
                                                     | To run a Docker image: 
 
 
 
 | 
| 
 | |
 Linking a Running Docker Image to a PHP Server
Linking a Running Docker Image to a PHP Server
                                The next procedure will describe how to create a new PHP server in Zend Studio that is linked to a Docker image. This enables deploying, running and debugging PHP in the Docker container from within Zend Studio.
| 
 | 
 | 
| 
                                                     | To link a Docker Image with a PHP server: 
 
 
 
 | 
| Once created, the new PHP server is created and added to the PHP Servers view. | |
 Debugging PHP on a Docker Image
Debugging PHP on a Docker Image
                                Once you have completed all of the procedures above, create a new PHP project (when creating the project, select the PHP server you linked to the Docker image), and debug your code (right-click a file in the PHP explorer, and select Debug As | PHP Web Application).
 
                            
                            
                         
                                                
 .
.

 .
.







 .
.




