Mkdir /Users/(old username): permission denied

Hi everyone, I cannot run my docker desktop after I changed my admin name of the current Mac user. Docker is clashing the older name.

As soon as I enter the app, it shuts me down. Gives the option to restore to factory settings but nothing happens and repeats the same thing.

Deleting the app didn’t work, tried deleting a lot of files from Users/Library but still has the same error.

How do I reset that, please help.
Thanks!