Connect to a Repository

This feature is available only in Enterprise Edition.

You must use the Administration Console to connect to a repository before running certain commands, and you can only be connected to one repository at a time.

Open the Administration Console

To run the Administration Console, use the following command:

docker run -it -e INETSOFT_MASTER_PASSWORD=some_arbitrary_token --rm ghcr.io/inetsoft-technology/stylebi-enterprise:latest shell

The environment used to run the Administration Console must be configured with the same INETSOFT_MASTER_PASSWORD variable used in the primary Docker container. One way to do this is to add the following switch to the startup command:

-e INETSOFT_MASTER_PASSWORD=arbitrary_token

To connect to a non-running server (not recommended) add the -v flag as shown below:

docker run -it --rm -v inetsoft_blob:/var/lib/inetsoft/blob -v inetsoft_kv:/var/lib/inetsoft/kv ghcr.io/inetsoft-technology/stylebi-enterprise:latest shell
Volume names inetsoft_blob and inetsoft_kv may vary based on the host environment.

To download or upload files from a running server (where '/local/directory/path' is the directory where the file is to be uploaded from or downloaded to), add the -v flag as shown below:

docker run -it --rm -v /local/directory/path:/arbitrary/container/path ghcr.io/inetsoft-technology/stylebi-enterprise:latest shell

Connect to a Repository

The :connect command makes the connection to a repository.

Parameter

path

File-system path to a local repository or URL of a remote repository.

The Administration Console runs in its own container and cannot resolve localhost to other containers. For local connections, use the IP address of the host machine and ensure the Administration Console container is attached to the same Docker network as the target container.
user

The username used to authenticate with the repository. If security is not enabled, this should be “admin”.

organization

In a multi-tenant environment, the user’s organization ID. (See Enable Multi-Tenancy.) If omitted, the Host Organization is assumed.

password

The password used to authenticate with the repository.

Example 1. connect
:connect http://www.example.com admin admin

Disconnect from a Repository

The :disconnect command disconnects the current repository connection (if one exists).

Example 2. disconnect
:disconnect