How to link the node code in VS code to the n8n instance in Docker?

Describe the issue/error/question

How to link the node code in VS code to the n8n instance in Docker?

What is the error message (if any)?

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version:0.209.2
  • Database you’re using (default: SQLite):
  • **Running n8n with the execution process [own(default), main]:own
  • Running n8n via [Docker, npm,, desktop app]:

If you are using docker you could try mapping the volume that contains your node and setting the custom extensions option to that mapped volume.

Personally I prefer to create nodes outside of docker then add them to my container version from npm using the ui.

I can’t do either of the two methods you mentioned. Can you explain them?

Which bit are you having a hard time with? Can you share what you have tried?

I did a quick search and found this post I made a while back that talks about the custom extension option

1 Like

What I want to say is, can I use Docker’s N8n instead of npm’s N8n instance at that time. Because all my customized nodes are on npm, now I want to use Docker. What can I do to start Docker’s n8n8?

Hey @Tk8and15,

You can indeed, If it is for creating your node you can use the steps in the link I posted over the weekend.

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