{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "n8n-io-n8n--self-host-n8n-with-docker",
 "repo": "n8n-io/n8n",
 "repo_url": "https://github.com/n8n-io/n8n",
 "repo_slug": "n8n-io-n8n",
 "title": "Self-host n8n with Docker in 5 minutes",
 "page_title": "How to self-host n8n with Docker in 5 minutes with n8n",
 "summary": "Run n8n in one Docker container with a persistent volume and open the editor in your browser.",
 "who": "Anyone who wants workflow automation without per-task cloud pricing or sending data to a third party.",
 "problem": "Hosted automation tools charge per run and keep your credentials on their servers.",
 "outcome": "The n8n editor running at localhost:5678 with your workflows saved in a Docker volume.",
 "steps": [
  "Install Docker",
  "Create a volume: `docker volume create n8n_data`",
  "Start n8n: `docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n`",
  "Open the editor at http://localhost:5678 and create the owner account",
  "Or use the install script `curl -fsSL https://get.n8n.io | sh`"
 ],
 "agent_prompt": "Self-host n8n-io/n8n with Docker on this machine using a named volume, confirm the editor loads on port 5678, and tell me how to back up the n8n_data volume.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "typescript",
 "requirements": [
  "Docker for the self-hosted quick start",
  "Accounts or API keys for the apps and models you connect"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "The get.n8n.io install script runs code fetched from the internet; the docker run command is the transparent alternative."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/n8n-io-n8n/self-host-n8n-with-docker/",
 "md": "https://dedupedai.com/use-cases/n8n-io-n8n/self-host-n8n-with-docker/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/n8n-io-n8n--self-host-n8n-with-docker.json",
 "api_version": "v1"
}
