Videos · 1:34 · 2026-09-26
Install Odoo 20 with Docker: the 127.0.0.1 trap and the fix.
A real run on a clean Docker host: Odoo 20 started the Odoo 19 way leaves the port dead because it listens on 127.0.0.1; the Dockerfile from Odoo’s 20.0 package with --http-interface=0.0.0.0, compose.yaml with PostgreSQL 17, the first build, the port answering, and creating the database.
Read the page: How to install Odoo 20
Transcript
- Odoo 20 in Docker: The port is dead. The log says why. Commands: docker run -d --name first-try -p 8069:8069 odoo20-odoo odoo ; curl -sS -o /dev/null -w "%{http_code}\n" http://localhost:8069/web/login ; docker logs first-try 2>&1 | grep "HTTP service".
- Install Odoo 20 with Docker. Every command, run for real.
- Before you start · What you need. Docker with Compose: Linux, macOS, Windows. An official odoo:20 image: not on Docker Hub yet. So we build one from Odoo's 20.0 package: one Dockerfile.
- The one line that matters: Listen on all interfaces, inside the container. Commands: mkdir odoo20 && cd odoo20 ; cat > Dockerfile <<'EOF'.
- compose.yaml: PostgreSQL 17, a health check, two volumes. Commands: cat > compose.yaml <<'EOF'.
- The first build: About seven minutes, once. Commands: docker compose build.
- This time: 0.0.0.0, and the port answers. Commands: docker compose up -d --build ; docker compose logs odoo | grep "HTTP service" ; curl -sS -o /dev/null -w "%{http_code}\n" http://localhost:8069/web/login.
- Note the master password: Then name it and create it. Odoo 20.0 Community: Running.
- On a real server · Two more things. Keep the 127.0.0.1 default: put nginx with HTTPS in front. Or tunnel in: ssh -L 8069:localhost:8069. When odoo:20.0 lands on Docker Hub: swap build: . for image: odoo:20.0.
- Every command, run for real. Ubuntu, Debian, Fedora, source, Windows and macOS in the guide. nanti.ai/install-odoo-20 Recorded 26 Sep 2026 · Odoo 20.0 Community, build 20.0-20260926 · isolated Docker host.
More videos
Odoo 20 native MCP vs the Execution Layer: what happens when your AI writes1:06
Execution Layer for Odoo: AI writes with approvals and proof0:57
Nanti Sales Coach: the AI Sales Coach for Odoo, in under a minute0:48
Context Layer for Odoo: why AI gets revenue wrong, and the fix0:51
Nanti Manufacturing Planner for Odoo: what runs short, and what to do about it0:55
nanti.ai: specialized AI for businesses that run on Odoo0:38
