How to properly update n8n with Docker on a Synology NAS

Hi everyone,

I’m trying to update n8n on my Synology NAS using Docker, but I’m quite inexperienced with Docker and not sure if I’m doing it right.

What I did so far:

  • In the Docker app on Synology, I went to the Registry and downloaded the newest n8nio/n8n image.
  • Then I noticed that it created a new image and when I started it, it spun up a completely new container instead of updating the existing one.
  • The new container doesn’t seem properly configured (no volumes, env variables, etc.) and is not “linked” to my existing setup.

Is there a proper way to update n8n without breaking the current configuration?
Am I missing something here?

Any advice or a clear step-by-step would be highly appreciated!

Thanks in advance :folded_hands:

  • Stop your current n8n container.
  • Open Docker > Container tab > Stop the running n8n container.
  • Pull the latest image.
  • Docker > Registry > Search n8nio/n8n > Download the latest image (you already did this :white_check_mark:).
  • Go to “Container” > Select existing n8n container > Click “Duplicate Settings”.
  • This reuses all your current:
    • Environment Variables (N8N_*)
    • Volume bindings (for persistent data)
    • Network settings
  • In the dialog that opens:
  • Give the new container a name like n8n-updated
  • Under Image, select the latest image you pulled, not the old one
  • Keep all volume and environment configurations as they were
  • Launch the duplicated container.
  • It’ll now run the updated n8n version but with your previous data/settings.
  • Once verified it works, delete the old container (optional).