Docker
for Windows and Linux
for macOS
For this page to be available, the Docker integration plugin must be installed and enabled.
Docker
Specify the settings for accessing the Docker API and Docker Compose.
Item | Description |
---|
Name | The name of the configuration. |
API URL | The Docker API URL. Depending on your Docker version and operating system: - Docker for Windows:
tcp://localhost:2375 - Docker for macOS or Linux:
unix:///var/run/docker.sock - Docker Toolbox for Windows or macOS (deprecated):
https://192.168.99.100:2376 The default API URL is https://192.168.99.100:2376 which is the default value of the DOCKER_HOST created by the default Toolbox installation used by docker-machine . Use host 192.168.99.100 for Docker Toolbox installation and localhost for native Docker installation. See Service Name and Transport Protocol Port Number Registry for explanation why port 2375 or 2376 is used. |
Certificates folder | The path to the certificates folder - if you are using the Docker Toolbox. Depending on your Docker version and operating system: - Docker for Windows, macOS or Linux: This field must be empty.
- Docker Toolbox for Windows (deprecated):
<your_home_directory>\.docker\machine\machines\default - Docker Toolbox for macOS (deprecated): usually,
<your_home_directory>/.docker/ or its subdirectory.
|
Docker Compose executable | docker-compose or an actual path to docker-compose.exe or docker-compose.sh (normally located in the bin folder of the Docker installation directory). The default setting docker-compose for Docker Compose executable is fine if: - The actual name of the executable file is
docker-compose . - The path to the directory where the file is located is included in the environment variable
Path . See Docker Compose. |
Import credentials from Docker Machine | If you want to import credentials for accessing the Docker Remote API from Docker Machine, select the check box and specify the associated settings: - Docker Machine executable.
docker-machine or an actual path to docker-machine.exe (normally located in the Docker Toolbox installation folder). The default setting docker-machine is fine if: - The actual name of the executable file is
docker-machine . - The path to the directory where the file is located is included in the environment variable
Path . Detect. When you click Detect, PhpStorm sets Docker Machine executable to docker-machine , tries to detect the executable file and, if a success, shows its version. - Machine. After specifying the Docker Machine executable or clicking Detect, the list contains the Docker Machines available locally, and you can select the one to be used.
|
See also, Docker.
Toolbar
Use to create configurations and to delete them.
Last modified: 19 July 2017