Article ID: 000058806 Content Type: Error Messages Last Reviewed: 06/15/2022

Encountered Error with Existing Configuration When Running setup_TLS_docker.sh with Edge Software Hub

Environment

Edge Insights for Industrial Software Package

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

How to remove existing configurations when setting up TLS docker with Edge Software Hub

Description

The following error message is encountered when running the setup_TLS_docker.sh script.

ERROR: Configuration for volume openvino specifies "device" driver_opt None, but a volume with the same name uses a different "device" driver_opt (/opt/intel/openvino). If you wish to use the new configuration, please remove the existing volume "training-and-learning-suite_openvino" first

Resolution

The error occurs because the Computer Vision Annotation Tool (CVAT) related containers are running.

Follow these steps to have a clean rebuild and re-run the setup script.

  1. Navigate to the <TLS_repo>/webservices/components/cvat directory and run the command below:

    sudo docker-compose down

  2. Navigate to the <TLS_repo>/ directory and run the command below:

    sudo docker-compose down

  3. Run the command below to remove the directories:

    sudo rm -r /opt/intel/tls

  4. Navigate to the <TLS_repo>/thirdparty directory and run command below:

    sudo ./cleanup_docker.sh

  5. In the same directory, run the setup script again without sudo.

    ./setup_TLS_docker.sh

Related Products

This article applies to 1 products