Docker Engine stopped in Docker Desktop after changing username in Ubuntu 22

HI guys I’ve renamed my ubuntu username to match the office standard format but after that my Docker desktop is not running.It show’s docker engine is stopped.Do I need to do something after renaming the username to make it work? Any help is appreciated

I’m guessing, because I never tried to rename an existing user under Docker Desktop, but you could try to stop Docker Desktop, delete $HOME/.docker and start Docker Desktop. This would delete your existing configuration so before removing the folder you could search for your old username there.

Made the same ‘mistake’ (btw on macOS)
In ~/Library/Group Containers/group.com.docker/setting.json I found a reference to my old username in a dataFolder
I opted to rename/remove the settings file and restart. You can probably just change the dataFolder value

1 Like