PhpStorm 2016.3 Help

Docker

File | Settings | Build, Execution, Deployment | Docker for Windows and Linux
PhpStorm | Preferences | Build, Execution, Deployment | Docker for OS X

For this page to be available, the Docker integration plugin must be installed.


Docker

Specify the settings for accessing the Docker Remote API and Docker Compose.

ItemDescription
NameThe name of the configuration.
API URLThe Docker Remote API URL. The default is https://192.168.99.100:2376.
Certificates folderThe path to the certificates folder. (The certificates are generated automatically when you start the Docker daemon for the first time.) The default is <your_home_directory>\.docker\machine\machines\default.
Docker Compose executabledocker-compose or an actual path to docker-compose.exe (normally located in the Docker Toolbox installation folder).

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 /help/img/idea/2016.3/new.png to create configurations and /help/img/idea/2016.3/delete.png to delete them.

See Also

Procedures:

Last modified: 1 December 2016