Run n8n Locally for Free with Docker
A ten-part, hands-on path from installing Docker to running, backing up and upgrading a persistent self-hosted n8n instance on your own machine.
10 lessons in 3 modules.
Lessons
Module 1: Getting n8n running
- Run n8n Locally for Free with Docker (Part 1 of 10): Why Self-Host Instead of n8n Cloud
- Run n8n Locally for Free with Docker (Part 2 of 10): Installing Docker Desktop on Windows, Mac, and Linux
- Run n8n Locally for Free with Docker (Part 3 of 10): Your First n8n Container
- Run n8n Locally for Free with Docker (Part 4 of 10): Persisting Your Workflows with Docker Volumes
Module 2: Configuring your instance
- Run n8n Locally for Free with Docker (Part 5 of 10): A Cleaner Setup with Docker Compose
- Run n8n Locally for Free with Docker (Part 6 of 10): Environment Variables That Actually Matter
- Run n8n Locally for Free with Docker (Part 7 of 10): Testing Webhooks Locally with a Free Tunnel
- Run n8n Locally for Free with Docker (Part 8 of 10): Installing Community Nodes
Module 3: Maintaining it
- Run n8n Locally for Free with Docker (Part 9 of 10): Backing Up and Restoring Your Instance
- Run n8n Locally for Free with Docker (Part 10 of 10): Upgrading Without Losing Your Workflows
Final project
Run n8n with Docker Compose and a named volume, build one webhook-triggered workflow, take a backup, delete the container, restore from the backup and confirm the workflow survived.
Next: Learn n8n: From First Workflow to Production