Urgent.News

What's breaking now, across thousands of outlets.

Tech

I Followed the n8n AWS Docs and It Broke at the First Command

You SSH into a fresh EC2 box, run sudo dnf install -y docker , then the very next command from the guide you're following: docker compose up -d And it dies: docker: 'compose' is not a docker command. I hit this on camera. Followed the steps, watched n8n never come up, and spent a few minutes convinced I'd broken something. I hadn't. Almost every "self-host n8n on AWS" tutorial has this exact hole…

You SSH into a fresh EC2 box running Amazon Linux 2023, install Docker, then attempt to run `docker compose up -d` as instructed in various tutorials. However, the command fails with the error "compose is not a docker command." The issue lies in the fact that Docker's Compose plugin is not included in the `docker` package installed by `dnf install -y docker` on Amazon Linux 2023.

The Compose plugin must be installed separately. The article provides the exact commands needed to install Docker and the Compose plugin, ensuring that both Docker and the Compose plugin are properly set up on the EC2 instance. By following these steps, the environment is prepared for running n8n with PostgreSQL, resulting in a functional and secure deployment.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Stop Testing Signup Flows With Your Real Email

Stop Testing Signup Flows With Your Real Email I'm Muhammad Huzaifa, founder of Toolxz — a site with 45+ free browser-based tools I built for exactly the kind of repetitive developer chores I'm about…

More from Friday 25 September →