If you face any issues even after deleting the /var/lib/ecs/data/ folder. Try restarting the docker once it should resolve the issue.