Sandbox directory

watsonx.data Developer edition

After you install the developer version, you can introduce a directory of your own for use with the containerized utilities. Such a 'sandbox' directory can include your SQL files, python scripts and other files that can be referenced when you use the utilities.

To mount your own directory, set the LH_SANDBOX_DIR environment variable to the sandbox directory path and create a sample SQL file or python script to be run in that directory. The following steps describe the setup of sandbox directory.

Note: It is advised that you create a new directory that is solely meant for sharing files inside these containers. Avoid selecting directories such as your HOME as a sandbox directory. Mounting directories such as your HOME can cause file permission changes on existing files on some operating systems or with specific container runtime.