How to Install n8n on Linux with Docker (Self-Hosted)

Опубликовано: 24 Май 2026
на канале: sudo lab
9
0

Self-hosted install of n8n 1.x on a Linux server using Docker and docker compose, with a persistent data volume and access on port 5678.

Steps covered:
00:00 Install n8n on Linux with Docker
00:35 Prerequisites for n8n setup (Linux server, 1 GB RAM minimum)
01:20 Install Docker Engine using the official convenience script
02:24 Create the n8n data directory and docker-compose file
03:33 Start the n8n container with docker compose up -d
04:38 Access n8n in your browser at http://your-server-ip:5678
05:28 Troubleshooting common errors (port 5678 in use, permissions, container restarts)

Links:
n8n official docs: https://docs.n8n.io
n8n Docker hosting guide: https://docs.n8n.io/hosting/installat...
GitHub repo: https://github.com/n8n-io/n8n
Docker install script: https://get.docker.com
Version used in this tutorial: n8n 1.x (latest stable on Docker Hub)