How to route local file trigger node in locally hosted n8n in Docker

I’m trying to get local trigger node to read a file in one of my folders but I don’t think that my local file trigger even has access to my computer as it’s not pulling anything up. How can I confirm that it has access to my local files and, if not, how do I change it to have access? It’s currently running off Docker locally on my machine.

n8n version:1.59.4
Database (default: SQLite): Default
n8n EXECUTIONS_PROCESS setting (default: own, main):Default
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
Operating system: Windows 11 Pro

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @Sanele ,

Welcome to the community! :icecream:

When using docker, since the instance is in an isolated container, we need to share the local files with the container to be able to access them. This video explains it quite well - Sharing local files with containers | Docker Docs

Let us know how you get on :raised_hands:

2 Likes

thanks, worked like a charm!!!

1 Like

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