Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.36 KB

File metadata and controls

54 lines (37 loc) · 1.36 KB

Uninstall

Repository: data-extractor
Description: This file provides detailed steps to remove this repository, including any dependencies and configurations for Data Extractor.


Uninstalling and removing the repository involves 3 parts:

  • Delete installed JAR file
  • Docker configuration and containers
  • Delete repository clone

Deleting installed JAR file

./mvnw dependency:purge-local-repository -DmanualInclude="uk.gov.dbt.ndtp.extractor"

Deleting Docker containers

  1. List all containers to find the container ID or name:

    docker ps -a
  2. Stop the Docker container by ID or name if it is running:

    docker stop <container_id_or_name>
  3. Delete the Docker container by ID or name:

    docker rm <container_id_or_name>

    You can also use the -f flag to forcefully remove a running Docker container:

    docker rm -f <container_id_or_name>
  4. Confirm Docker has been deleted by listing all Docker containers:

    docker ps -a

Deleting repository clone

Simply delete the cloned repository files from working location.

© Crown Copyright 2025. This work has been developed by the National Digital Twin Programme and is legally attributed to the Department for Business and Trade (UK) as the governing entity.