Docker quickstart should include clear information on how to login

the documentation at Says

From your terminal, run:

docker volume create n8n_data

docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n

This command will download all required n8n images and start your container, exposed on port 5678. To save your work between container restarts, it also mounts a docker volume, n8n_data, to persist your data locally.

You can then access n8n by opening: http://localhost:5678 which I navigate to.

I can’t find any guides to set a default username and password just to try out the interface. It seems to me that there’s a lot more to do than just run the docker command. Any insights into what should be included to get a simple environment going on a local desktop machine would be helpful.

Welcome to the community @petersgiles!

When you do that the first time you should see the following screen which allows you to create the first user:

If you see directly the login screen, it means that you have already created a user in the past. If you do not remember it and have no other workflows saved you can delete the volume with docker volume rm n8n_data and then create it new again. If you are not sure and do not want to delete it you can simply change both commands to use a different volume name, so replace n8n_data with for example n8n_data_2.

Btw. just to be sure that there is no bug in n8n, did I try the above myself, and it worked fine (how I created the screenshot).

Yes, I had somehow made a data volume twice. I deleted that and it worked. Thanks for the tip.

Putting that login screen in the docs would have helped me know what to expect. It might be worth considering doing that.