Back

How to Install Odoo 18 with Docker on Ubuntu 22.04 (ARM64)

march 05, 2025

Odoo is a powerful open-source business management software that includes CRM, eCommerce, billing, accounting, manufacturing, project management, and more. In this guide, we'll walk you through installing Docker and Odoo 18 on Ubuntu 22.04 (ARM64) in a few simple steps.

Step 1: Install Docker on Ubuntu 22.04 ARM64

Docker allows you to run applications in lightweight containers, making it easy to deploy Odoo and its dependencies.

1.1 Update System Packages

Before installing Docker, update your system:

sudo apt update && sudo apt upgrade -y

1.2 Install Required Dependencies

Install the following packages to allow Docker to run without sudo:

sudo apt install -y ca-certificates curl gnupg

1.3 Add Docker’s Official GPG Key

sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo tee /etc/apt/keyrings/docker.asc > /dev/null
sudo chmod a+r /etc/apt/keyrings/docker.asc

1.4 Add Docker’s Repository

echo \ "deb [arch=arm64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

1.5 Install Docker

sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

1.6 Enable and Start Docker

sudo systemctl enable docker
sudo systemctl start docker

1.7 Verify Installation

docker --version
docker run --rm hello-world

Step 2: Install and Run PostgreSQL (Database)

Odoo requires PostgreSQL as its database backend. We will run PostgreSQL as a Docker container.

2.1 Pull PostgreSQL Image (ARM64)

docker pull postgres:15

2.2 Run PostgreSQL Container

docker run -d \ --name odoo-db \ --restart always \ -e POSTGRES_USER=odoo \ -e POSTGRES_PASSWORD=odoo \ -e POSTGRES_DB=postgres \ -v odoo-db-data:/var/lib/postgresql/data \ -p 5432:5432 \ postgres:15

Step 3: Install and Run Odoo 18

Now we are ready to install Odoo 18. We will run Odoo 18 as a Docker container.

3.1 Pull Odoo 18 Image (ARM64)

docker pull odoo:18

3.2 Run Odoo 18 Container

docker run -d \ --name odoo \ --restart always \ --link odoo-db:db \ -p 8069:8069 \ -v odoo-web-data:/var/lib/odoo \ -e HOST=db \ -e USER=odoo \ -e PASSWORD=odoo \ odoo:18

Step 4: Access Odoo

Once the installation is complete, you can access Odoo by opening your web browser and navigating to:

http://your-server-ip:8069

Follow the on-screen setup wizard to configure Odoo for your business needs.


Step 5: Manage Docker Containers

Once Odoo is installed, you can manage multiple containers simultaneously. You can check the status of all containers by running the following command:

docker ps

Now let's stop and remove the containers we created. You can do this in case you want to install Odoo on a different server or want to update the image.

5.1 Stop and Remove Containers

docker stop odoo
docker stop odoo-db

Now let's start the containers again.

5.2 Start Odoo or PostgreSQL

docker start odoo
docker start odoo-db

5.3 Remove Containers (If Needed)

If you need to remove the Odoo and PostgreSQL containers along with their volumes, run:

docker rm -f odoo odoo-db
docker volume rm odoo-web-data odoo-db-data

Final Thoughts

You’ve successfully installed Docker and Odoo 18 on Ubuntu 22.04 (ARM64). By using Docker, you ensure that your Odoo setup is easy to maintain, upgrade, and deploy across different environments.

If you found this guide helpful, feel free to share it with others looking to set up Odoo on ARM64 systems!

Ayoub Sousali 2017 - 2025