Resetting docker completely

I’ve been playing with docker in a virtualized TrueScale - Looks like I’ve ran out of space when it was pulling images.

Now I’m getting errors like:

failed to register layer: rename /mnt/.ix-apps/docker/image/overlay2/layerdb/tmp/write-set-1740450614 /mnt/.ix-apps/docker/image/overlay2/layerdb/sha256/9a074fae28b88ea2537473583829b90d7d8f3bf6fbf7597852d174bec9abd3e9: file exists

Whats the proper way to reset docker to factory state?

doing docker system prune -a, did not fix it - unsetting a pool seems to move the .ix-app somewhere into boot storage?

rm -rf /mnt/.ix-apps/docker ended up generating boot loop for the system.

Were you able to resolve this in the end?

I don’t remember to be honest, it was a disposable VM to play with, I most likely just started fresh.

Just for anyone else following, you have to manually delete the reported folders, then try again. You may need to repeat this (I had to delete 7x). Eventually it’ll work.

These >

 /mnt/.ix-apps/docker/image/overlay2/layerdb/sha256/9a074fae28b88ea2537473583829b90d7d8f3bf6fbf7597852d174bec9abd3e9

This is why I don’t use TN for apps at all. I use a Linux VM running docker. No headaches.