You can manage Docker containers by using the kse_docker_control.sh
script.
The script lets you do the following:
You can launch only one container at a time.
Removing a Kaspersky Scan Engine Docker container does not remove the loaded Kaspersky Scan Engine Docker images.
Configuring the script
Before using the script, you must configure it.
To configure the script:
kse_docker_control.sh
for editing.CONFIGURATION_FILES_DIRECTORY
variable, specify the path to the directory that contains Kaspersky Scan Engine configuration files (klScanEngineUI.xml
, kavhttpd.xml
for HTTP mode, or kavicapd.xml
for ICAP mode).LICENSE_FILE_DIRECTORY
variable, specify the path to the directory that contains your key file or activation code.KEY_FILE_DIRECTORY
variable, specify the path to the directory that contains the kl_scanengine_db.key
file, the kl_scanengine_cert.pem
certificate file, and the kl_scanengine_private.pem
private key file. If you use a secure connection, this directory must also contain the TLS certificate and private key for the HTTP mode or ICAP mode.LOGS_DIR
variable, specify the path to the log files directory.kse_docker_control.sh
.Options
The script is run from the command line as follows:
./kse_docker_control.sh [run_httpd] [run_icapd] [stop_httpd] [stop_icapd] [start_httpd] [start_icapd] [remove_httpd] [remove_icapd]
The kse_docker_control.sh options
Option |
Description |
---|---|
|
Launch Kaspersky Scan Engine Docker container (HTTP mode). |
|
Launch Kaspersky Scan Engine Docker container (ICAP mode). |
|
Stop Kaspersky Scan Engine Docker container (HTTP mode). After running this command, you can run either |
|
Stop Kaspersky Scan Engine Docker container (ICAP mode). After running this command, you can run either |
|
Start Kaspersky Scan Engine Docker container after it was stopped by the |
|
Start Kaspersky Scan Engine Docker container after it was stopped by the |
|
Delete Kaspersky Scan Engine Docker container (HTTP mode). |
|
Delete Kaspersky Scan Engine Docker container (ICAP mode). |