Using Docker to run Odoo
Docker is a project meant to make Linux Containers (LXC) easy to manage by providing high level tools. These containers can be used to ease the distribution of applications and their dependencies. There is a whole ecosystem built around Docker, meant to ease the deployment and management of dockerized applications. Discussing the details is far beyond the scope of this recipe and the interested reader may want to check the book Learning Docker from Packt Publishing, for more in-depth explanations.
In this recipe, we will see how to build a Docker image on your development workstation and run it on a production server.
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...