Managing Docker containers

You can manage Docker containers by using the kse_docker_control.sh script.

The script lets you do the following:

Configuring the script

Before using the script, you must configure it.

To configure the script:

  1. Open kse_docker_control.sh for editing.
  2. In the 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).
  3. In the LICENSE_FILE_DIRECTORY variable, specify the path to the directory that contains your key file or activation code.
  4. If you want to use Kaspersky Scan Engine GUI, specify the path to the directory that contains kl_scanengine_db.key in the KEY_FILE_DIRECTORY variable.
  5. Save and close 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

run_httpd

Launch Kaspersky Scan Engine Docker container (HTTP mode).

run_icapd

Launch Kaspersky Scan Engine Docker container (ICAP mode).

stop_httpd

Stop Kaspersky Scan Engine Docker container (HTTP mode).

After running this command, you can run either start_httpd or remove_httpd (see below).

stop_icapd

Stop Kaspersky Scan Engine Docker container (ICAP mode).

After running this command, you can run either start_icapd or remove_icapd (see below).

start_httpd

Start Kaspersky Scan Engine Docker container after it was stopped by the stop_httpd command.

start_icapd

Start Kaspersky Scan Engine Docker container after it was stopped by the stop_icapd command.

remove_httpd

Delete Kaspersky Scan Engine Docker container (HTTP mode).

remove_icapd

Delete Kaspersky Scan Engine Docker container (ICAP mode).

Page top