How to remove existing configurations when setting up TLS docker with Edge Software Hub
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
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.
- Navigate to the <TLS_repo>/webservices/components/cvat directory and run the command below:
sudo docker-compose down
- Navigate to the <TLS_repo>/ directory and run the command below:
sudo docker-compose down
- Run the command below to remove the directories:
sudo rm -r /opt/intel/tls
- Navigate to the <TLS_repo>/thirdparty directory and run command below:
sudo ./cleanup_docker.sh
- In the same directory, run the setup script again without sudo.
./setup_TLS_docker.sh