Forgot n8n password on local instance

Hi I have a local n8n instance on docker. I have forgotten the password. The forgot password option is not working as its locally hosted. What are my option.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Assuming you mean the n8n admin user, but still have access to the container itself.

You should be able to hop into the container and use the commands referenced here to reset: