On this page, enable Vagrant support in GoLand, specify the location of the VagrantFile, and handle the list of Vagrant base boxes to use in creation of virtual boxes (instances).
Before you start working with Vagrant, make sure that:
Vagrant is downloaded and installed.
|Vagrant executable||Specify the fully qualified address of the executable file: vagrant.bat for Windows, vagrant for Unix and macOS. Type the path manually, or click the browse button and locate the desired file in the dialog that opens.|
Specify here the fully qualified path to the directory, where the task
A Vagrantfile is a configuration file that defines the instance (virtual machine) you need. The file contains the virtual IP address, port mappings, and the memory size to assign. The file can specify which folders are shared and which third-party software should be installed. According to the Vagrantfile your instance (virtual machine) is configured, provisioned against the relevant Vagrant base box, and deployed on your computer. A Vagrantfile is created through the
When creation of an instance (virtual machine) is invoked either through the
You can create a Vagrantfile in any directory and appoint it as instance folder. If the field is empty, GoLand will treat the project root as the instance folder and look for a Vagrantfile in it.
|Provider||Use this field to specify the provider to be used by |
|Environment variable||Click the ellipsis button or press Shift+Enter to specify the shell variables to be used to configure the providers' behavior.|
|Boxes and Plugins tabs|
This list shows the predefined Vagrant base boxes available in GoLand.Each item presents a Vagrant base box on which Vagrant configures and launches its instances (virtual machines). The entries of this list correspond to the output of the command
Use this table to view and change the list of available plugins.