Where does n8n cli save exported workflows for docker?

I have n8n running on Docker and had exported the workflows using this command. The challenge is that I can not find the workflows/directory to which they are exported. How can I find them?

I tried using this command to run n8n with a local folder but couldnt read local files from the docker container. How can I solve this?

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

(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:

hello @Imperol

have you checked the /home/node/.n8n/backups/latest folder of the container?

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