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.
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.
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).