Try what I described there to make the docker command executable again.
Out of curiosity, did you install Docker Desktop as root? I know HomeBrew can also install Docker desktop but if you run it as root it might break the file permissions at least from your non-root user’s point of view.
update:
Of course you have a different permission issue. Sorry I answered too quickly. So just make the docker folder writable by you like this: