To upgrade the Kaspersky Scan Engine Docker image in Docker:
Unpack the following objects from the distribution kit containing the new version of Kaspersky Scan Engine:
Place the Kaspersky Scan Engine Docker image to images.
If Kaspersky Scan Engine connects to Kaspersky Security Network (KSN) and the anti-virus database through a proxy server, place the kav_encrypt utility to /opt/kaspersky/ScanEngine/tools.
If you use the Kaspersky Scan Engine GUI, place migrate.sql to /opt/kaspersky/ScanEngine/conf.
Add the new elements to the Kaspersky Scan Engine configuration files if you need those elements. The elements added in the new version of Kaspersky Scan Engine are described in Kaspersky Scan Engine online help.
Remove the running Kaspersky Scan Engine Docker containers. To remove containers with the kse_docker_control.sh script, run the following commands:
If Kaspersky Scan Engine connects to Kaspersky Security Network (KSN) and the anti-virus database through a proxy server, encrypt the username and password for proxy authentication:
Make sure the /opt/kaspersky/ScanEngine/httpsrv directory on the local host contains the kl_scanengine_db.key file. If this file does not exist, prepare it for use.
You need an encryption key to encrypt data (usernames and passwords) with the kav_encrypt utility.
Make sure all users have read permissions to the kl_scanengine_db.key file.
If you use the kse_docker_control.sh script to run containers, open kse_docker_control.sh for editing, and then specify the path to kl_scanengine_db.key in the KEY_FILE_DIRECTORY parameter.
If you do not use the kse_docker_control.sh script, you need to specify the parameter for mounting kl_scanengine_db.key to the /opt/kaspersky/ScanEngine/httpsrv directory inside the container each time you run the container.