Factory reset DCT for Docker Compose
Docker Compose should only be used to deploy DCT in an evaluation/testing capacity.
This article explains how to factory reset DCT. Factory resetting means deleting all of the configuration and data associated with DCT. Perform this step only if you are absolutely sure about this and understand the implications.
Bring all of the DCT services down with this command:
docker compose down
List all Docker volumes being used and note down the volume names:
docker volume ls
DRIVER VOLUME NAME
local dct_gateway-data
local dct_gwdatabase-data
Delete the Docker volumes that are listed from the previous command:
docker volume rm dct_gateway-data
docker volume rm dct_gwdatabase-data