freeton_wallet icon indicating copy to clipboard operation
freeton_wallet copied to clipboard

Allow repairing and removing a switch if the container was accidentally removed

Open NoamDev opened this issue 3 years ago • 1 comments

right now, there is no command to recreate a docker container if you accidentally removed it. (maybe it should be auto created?). also, if the container was removed, you cannot remove the switch, since it fails in docker container removal.

NoamDev avatar Aug 30 '21 06:08 NoamDev

Indeed, there is no command for the first one. Note that you can still recreate another switch with the same accounts using ft account copy from OLD_SWITCH. Anyway, if you removed the container, their states were removed.

I think you can use ft switch remove SWITCH -f, i.e. use -f to force container removal after docker failure

lefessan avatar Aug 30 '21 12:08 lefessan