~/.grid/resource_config.json
is a JSON file that contains your GRID credentials, as well as information about the resources you wish to target for running GRID.
For your convenience, the resource configuration file targets localhost by default, which means it allows you to run sessions on the same machine. If you wish to target other remote machines, see the following sections.
host_grid_local
key is set to true
by default, which allows you to run the containers on the same machine.
host
and client
. The host
mode is used when you want to run the GRID containers on the same machine where the CLI is installed. In this mode, the host_grid_local
key is set to true
in the resource configuration file.
If you want to run the GRID containers on a remote machine, you need to set the host_grid_local
key to false
and provide the necessary details for the remote machine in the resource configuration file.
storage key
under the corresponding resource. For example, if you wish to mount a folder from localhost into the GRID containers:
/home/test/Documents/code
on the host to /mnt/code
in the GRID containers.
@local
, @node0
) before executing to ensure you are running them on the right machines.
Ports for Remote Access: