Http 500 error invalid mode when trying torun a n8n container in Docker Desktop

i get a http 500 error invalide mode when trying torun a n8n container in Dicker Desktop. see attached

The mistake is caused by an invalid volume path format. Docker on Windows needs Linux-style paths even for Windows host directories.

Correct your volume mapping:
Change:
C:\Users\8\n8n-data → C:\node\n8n

To:
C:\Users\8\n8n-data → /home/node/.n8n

The container path /home/node/.n8n is the default directory for n8n data within the container. Map your Windows host directory to this path.

Modify your volume setting to:

Host path: C:\Users\8\n8n-data
Container path: /home/node/.n8n
This should solve it.

If this was of help, please mark it as solution.
thankyou.

1 Like

Thank you . That did work.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.