Tech Joy Labs

Guides / n8n

Run n8n free on a spare PC with Docker (UK bank holiday workflow)

The exact Docker commands, first-run notes and a free n8n workflow that finds the next UK bank holiday. Recorded on n8n 2.48.8 with a rootless Docker install. No accounts and no API keys.

Free guide and workflow file · Updated 24 November 2026 · Recorded on n8n 2.48.8

Honesty first. n8n’s own docs say self-hosting is for people comfortable running servers, and they recommend Docker Compose for a proper install. This is the simple local try-out on the computer itself. Opening it from another machine is a later, safer step.

Run n8n, the free automation tool, on a computer you already have, then build a first workflow that finds the next UK bank holiday. No accounts and no API keys needed. These are the exact commands from the Tech Joy Labs walkthrough, recorded with Docker’s rootless install: plain docker commands, as a normal user. No sudo, and no docker group.

1. The exact commands

If you already have Docker, check it:

docker --version

If that gives you a version number, you’re set. If not, follow the official install at docs.docker.com/engine/install. The recording used the rootless install.

Create a volume for your data. Your workflows and settings live here, so they survive when the container stops:

docker volume create n8n_data

Start n8n. This is the command from the n8n docs, with one careful change: the port is bound to localhost, 127.0.0.1, so n8n only listens on this computer. Change the time zone if you’re not in the UK. The first run downloads n8n, so give it a minute.

docker run -it --rm --name n8n -p 127.0.0.1:5678:5678 -e GENERIC_TIMEZONE="Europe/London" -e TZ="Europe/London" -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true -v n8n_data:/home/node/.n8n n8nio/n8n

When the log says the editor is accessible, open http://localhost:5678.

2. First-run notes

n8n asks you to create the owner account. It lives only on your machine.

3. First workflow: the next UK bank holiday

From Overview, choose Build a workflow, then add these nodes in order:

  1. Trigger manually — the node is called When clicking ‘Execute workflow’.
  2. HTTP Request — GET https://www.gov.uk/bank-holidays.json. Press Execute step, and you get every bank holiday for England and Wales, Scotland and Northern Ireland.
  3. Split Out — Fields To Split Out = england-and-wales.events, so each holiday becomes its own item.
  4. Filter — drag the date field across from the Input panel. Choose Date & Time → is after, and set the second value to an Expression, {{ $now }}, meaning after today. Press Execute step. Typing into the fixed-text field does not switch it to an Expression.
  5. Limit — leave the defaults: Max Items 1, Keep First Items.

Press Execute on the canvas. Recorded on 24 November 2026, the next bank holiday was Christmas Day, 2026-12-25. The Filter output read Kept (18 items) / Discarded (65 items). Boxing Day 2026-12-28 is a substitute day.

4. Make it weekly

Delete the manual trigger, add On a schedule (Schedule Trigger: Weeks, Monday, 8am), and connect it to the HTTP Request node. Save. Press Publish when you want it to run on its schedule. n8n 2.x has a Publish button rather than an Active toggle. The walkthrough saves the workflow but does not press Publish.

5. Traps

6. Prove it’s still there

Stop the container (Ctrl+C) and start it again with the same command. The browser may say Connection lost, and n8n will ask you to sign back in. Once you do, your workflow is still there, listed as My workflow.

In the menu, choose Export JSON if you want your own copy. If you share an export, strip the instanceId first. The file below has already had it removed.

Free workflow file. Import this into n8n and you’re running in a minute. It is the cleaned export from the walkthrough, not the raw file with an instance ID.

Download techjoy-next-bank-holiday-clean.json

Sources

Recorded on a Tech Joy Labs home-lab machine with a demo n8n account. Tech Joy Labs is not affiliated with n8n.

Helping someone less techy? Our sister site Ask TechJoy has calm, plain-English guides to everyday tech and using AI safely.