This won’t even work as the error happens during the second step of installation itself where
" 1. Double-click Docker.dmg
to open the installer, then drag the Docker icon to the Applications folder. By default, Docker Desktop is installed at /Applications/Docker.app
."
In this step just before installation to finish the persistent error message props out
Here’s a screen recording link for reference