How to uninstall docker desktop on Mac

Hi, I installed Docker desktop on my new MacBook Pro m1. I cannot start the engine. I followed instructions on Install Docker Desktop on Mac | Docker Docs. I am trying to build the getting-started app as per the instructions on Containerize an application | Docker Docs. The build command “docker build -t getting-started” is failing with the following error.

ERROR: “docker buildx build” requires exactly 1 argument.

See ‘docker buildx build --help’.

I tried to uninstall from the “Troubleshoot” page. It doesn’t uninstall.

Can someone help.