GoLand 2023.2 Help

Docker run targets

Docker is great for running and debugging your application, because you can replicate any environment in a container. For example, the reporter of an issue may provide you with a specific Docker image where they are able to reproduce the problem. To run or debug your application in a Docker container, you can use Run targets.

Create a Docker run target

  1. Press Control+Alt+S to open the IDE settings and then select Build, Execution, Deployment | Run Targets.

  2. Click The Add Target On button and select Docker.

  3. Configure and create the Docker target as described in Run Targets: Docker.

Docker run target

Run or debug your application on a Docker run target

Java application with Docker run target
Last modified: 26 April 2023