WebStorm 2023.1 Help

Docker run configurations

Use Docker run configurations to build Docker images and run containers from WebStorm. For example, you can run a container with the database used by your application backend. Or you can build an image with your application binary, dependencies, and any other necessary files. This is called "dockerizing" an application.

Create a Docker run configuration

  1. From the main menu, select Run | Edit Configurations.

  2. In the Run/Debug Configurations dialog, click The Add New Configuration button, expand the Docker group, and select the desired type of run configuration.

Docker run/debug configurations

WebStorm provides the following types of Docker run configurations:

Docker Image

Created automatically when you run a container from an existing image. For more information, see Docker Image run configuration.

Dockerfile

Created automatically when you run a container from a Dockerfile. For more information, see Dockerfile run configuration.

Docker-compose

Created automatically when you run a multi-container Docker application from a Docker Compose file. For more information, see Docker-compose run configuration.

Last modified: 19 May 2023