Skip to main content

Module 2: n8n Installation & Setup

Chapter 4: Install n8n Locally with Docker

In this chapter, you'll install Docker, run n8n in a container with a persistent volume, write a Compose file, update the image, and back up your data.

In the previous chapter, you installed n8n directly on your machine using Node.js and npm.

In this chapter, you'll learn the second of the four installation methods covered in Module 2: running n8n inside a Docker container.

Why Docker Is the Method Most People Should Use

Updated on Aug 6, 2026