To run containers as external applications on the CLC Server, the containerized execution environment must be enabled and configured. This is done under the Containerized execution environment area under the External applications tab (figure 15.3). The full docker command executed when a containerized external application is launched combines the "docker" command with parameters configured here, followed by the parameters specified in individual external command configurations, as described in External application configurations.
Containerized external applications are only supported on CLC Server systems running on Linux. Currently, we support Docker containers.
Figure 15.3: The server's container execution environment is configured under the External applications tab.
To configure the CLC Server for executing containers as external applications, expand the Containerized execution environment area (figure 15.3), and:
Note that the user running the CLC Server application must have permission to run the docker executable.
This directory will be bind mounted into the container launched and used to exchange data between the container and the CLC Server. This directory must therefore be shareable between the containers and the system that the CLC Server is running on.
Configuring import/export directories for the CLC Server is described in Import/export directories.
docker run -v <import-export-dir>:<mount-point-in-image>
For convenience, the mount point in the container is set to be the same as the shared working directory location on the host system. If you wish to specify a different mount point, select the "Use custom arguments" option, described below, instead.
Note: Environment variables can also be specified for individual external applications, as described in Environment. These are system variables set on the external application process started by the CLC Server.