Did you forget the admin password for your local Dockerized instance of SonarQube? Do you have a lot of scans done that you need for a vendor evaluation?
We've all been there. (Well, all of us who found this Gist maybe.)
If you're using Docker, go to your Docker dashboard and run an interactive terminal session. This will open a terminal window with a command like this:
docker exec -it {Container ID} /bin/sh