WebStorm 2017.1 Help


WebStorm integration with Docker allows you to run your applications in variously configured development environments deployed in Docker containers.


Make sure that the following prerequisites are met:

  • Docker is installed, as described on the page Docker Docs. You can install Docker on the various platforms:
    • Windows
    • macOS
    • Linux (Ubuntu, other distributions-related instructions are available as well)
  • Before you start working with Docker, make sure that the Docker integration plugin is enabled. The plugin is bundled with WebStorm and is activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.

Overview of Docker support

The Docker integration plugin adds the following to WebStorm:

Working with Docker: Process overview

  1. Install Docker and start the Docker daemon (on Windows and macOS - along with the Docker VM in which it runs). For the instructions, see Get Started with Docker.
  2. Make sure the Docker integration plugin is enabled.
  3. Create a Docker configuration. You can do that:
    • Separately, in the Settings / Preferences dialog: Ctrl+Alt+S | Build, Execution, Deployment | Docker | /help/img/idea/2017.1/add.png | Docker.
    • When creating a Docker Deployment run configuration: Run | Edit Configurations | /help/img/idea/2017.1/add.png | Docker Deployment, etc.
  4. Use the Docker Tool Window to manage your Docker images, containers and deployed applications.
  5. Configure the Node.js interpreters running in a Docker container, see Configuring Node.js Interpreters.
  6. Create a Node.js run/debug configuration and configure the Docker container settings, see Running and Debugging Node.js.

See Also

Last modified: 17 July 2017