Prerequisites (plugin installation)
First of all, you need to install the plugin in PhpStorm. Open Settings (Preferences) | Plugins, and click the Install JetBrains plugin... button:
Search for Docker and install the Docker Integration plugin by using the context menu.
Restart the IDE to complete the installation of the plugin.
Prerequisites (Docker installation)
You'll need to install Docker and related tools so that you can take advantage of the Docker integration in PhpStorm. Please refer to the Docker documentation to get more information about the installation process:
- Installing Docker engine on Windows
- Installing Docker engine on Mac OS X
- Installing Docker engine on Linux (Ubuntu, other distributions-related instructions are available as well)
- You can also install Docker on various cloud platforms (e.g. here are tutorials on installing Docker on Amazon EC2, Google Cloud Platform, and Microsoft Azure).