WebStorm 2019.2 Help

Docker

File | Settings | Build, Execution & Deployment | Docker for Windows and Linux
WebStorm | Preferences | Build, Execution & Deployment | Docker for macOS
Ctrl+Alt+S the Settings/Preferences icon


Specify the settings for accessing the Docker API. For more information about using the Docker integration with WebStorm, see Docker.

Item

Description

Name

The name of the configuration.

Connect to Docker daemon with

Docker for Mac: If you are using Docker for macOS, this is the recommended connection option.

Unix socket: This is the recommended connection option for Linux.

Docker Machine: If you are using Docker Toolbox for Windows or macOS, this is the recommended option for connecting to the Docker API. If the Connection successful message doesn't appear, check your Docker Machine executable setting on the Docker | Tools page.

TCP socket: If you are using Docker for Windows, this is the usual connection option. This option will also work for Linux, Docker for macOS, and Docker Toolbox.

  • Engine API URL: Depends on the 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: https://192.168.99.100:2376

  • Certificates folder: The path to the certificates folder. Depends on your Docker version and operating system:

    • Docker for Windows, macOS or Linux: Leave this field empty.

    • Docker Toolbox for Windows: %HOMEPATH%\.docker\machine\machines\default

    • Docker Toolbox for macOS: usually ~/.docker/ or its subdirectory.

Path mappings

For Windows and macOS: Specify the mappings for folders that can be shared between the host and the container volumes.

Use the Edit button to edit an existing mapping, or the Add button to create a new one.

  • Local path: The path to the local folder that you want to make available for volume bindings.

  • Virtual machine path: The corresponding directory path in the Docker virtual machine's file system.

Last modified: 17 September 2019

See Also