Getting ready

We assume that Docker is installed both on your development station and on the production server. The instructions to install Docker Community Edition for Debian GNU/Linux are on https://docs.docker.com/engine/installation/linux/docker-ce/debian/ (and the instructions for installing Docker for other platforms are close by).

You will also need docker-compose, which is packaged for Debian stretch:

# apt-get install docker-compose

This recipe uses the layout suggested in the Standardizing your instance directory layout recipe from Chapter 2, Managing Odoo server instances. It assumes that you have a clone of the Odoo repository in src/odoo