Download JetBrains GoLand 2023.16/30/2023 Open the Services tool window ( View | Tool Windows | Services or Alt+8), select the configured Docker connection node and click, or select Connect from the context menu. This table is not available on a Linux host, where Docker runs natively and you can mount any directory to the container. ![]() You will not be able to use volumes and bind mounts for directories outside of the mapped local path. The Connection successful message should appear at the bottom of the dialog.įor more information about mapping local paths to the virtual machine running the Docker daemon when using Docker on Windows or macOS, see Virtual machine path mappings for Windows and macOS hosts. The connection settings depend on your Docker version and operating system. Press Ctrl+Alt+S to open the IDE settings and select Build, Execution, Deployment | Docker.Ĭlick to add a Docker configuration and specify how to connect to the Docker daemon. ![]() In the URL field, copy and paste the following web URL:ĭocker-compose up -d postgresql_12 Note that you must navigate to the directory of the docker-compose.yml file first.Īlternatively, you can enable and use the Docker plugin in GoLand. In the Enable Version Control Integration dialog, ensure that Git is selected in the drop-down list and click OK. Enable version control integrationĬlick VCS | Enable Version Control Integration on the menu bar. Docker repository includes YAML files that define services, networks, and volumes. Sakila repository includes scripts that generate the structure of the Sakila database and scripts that add data to database objects. ![]() ![]() To complete this tutorial, ensure that you have installed the following software:įor example purposes, we are going to use the following two repositories: Sakila dump files ( ) and Docker-compose files ( ). How to run PostgreSQL queries from GoLand
0 Comments
Leave a Reply. |