Docker connection settings
Specify the settings for accessing the Docker API. For more information about using the Docker integration with DataGrip, see Docker.
Install the Docker plugin
This functionality relies on the Docker plugin, which you need to install and enable.
Press Ctrl+Alt+S to open the IDE settings and select.
Open the Marketplace tab, find the Docker plugin, and click Install (restart the IDE if prompted).
You can add multiple Docker configurations, each representing a connection to a separate Docker daemon:
Add a new Docker configuration.
- Delete Alt+Delete
Remove the selected Docker configuration.
For each Docker configuration, specify a name and choose the connection type depending on the operating system:
- Docker for Windows
This is the recommended option when using Docker Desktop for Windows.
- Docker for Mac
This is the recommended option when using Docker Desktop for macOS.
- Unix socket
This is the recommended option when using Docker Desktop for Linux.
- TCP socket
Configure the URL to the Docker Engine API manually.
By default, on macOS and Linux, the Docker daemon listens for Docker Engine API requests on the Unix socket at
If you are using Docker Desktop for Windows, you can connect to the Docker Engine through a named pipe at
npipe:////./pipe/docker_engineor a TCP socket at
Connect to a remote Docker daemon via an existing SSH configuration or create a new one.
Connect to a Docker daemon running in Windows Subsystem for Linux (WSL).
If you are running minikube, select this option to automatically detect and connect to the minikube's Docker Engine environment.
If DataGrip cannot detect minikube or if it is running remotely, run the
minikube docker-envcommand to get the necessary connection information and set the following under TCP socket:
Engine API URL: the value of
httpsas the protocol instead of
Certificates folder: the value of
In the table below, specify the mappings for folders that the host and the container volumes can share:
- Add Alt+Insert
Add a new mapping.
- Remove Ctrl+Y
Remove the selected mapping.
- Edit Enter
Edit the selected mapping.
- Virtual machine path
The path to the directory in the Docker virtual machine's file system.
- Local path
The path to the local folder that you want to bind to the corresponding directory in the virtual machine.