This question has been flagged
2 Replies
4856 Views

Hi Members,

can i use Docker for Odoo Development? Is using the Docker easier than Development without it?

Avatar
Discard

I think it depends on how good are you with docker.
From my personal experience I think working with docker on windows is not a good option, but if you are deploying your odoo to one of those cloud platforms that use docker for deployment, docker would be a viable option.
You can give this repo a look: https://github.com/m-azzain/odoo-dev-env

Best Answer

Using Docker has many advantages. You can use Docker to launch your container on any server (including cloud) or any local machine (e.g. your developer environment) you want. It will run everywhere in exactly the same, predictable way. Moreover, Docker allows you to set up your environment in such a way that it runs in exactly the same manner as it will in production (e.g., the same operating system, with the same environment variables, and all the dependencies required). I always have two docker containers running for each new project: 

  1. Development container where I can debug 
  2. Production container where I can test everything

The disadvantage is that you have to get familiar with Docker, but there are plenty of good resources out there.

Avatar
Discard
Best Answer

There is a project (Doodba) from partner Tecnativa. You should have a look at it
https://github.com/Tecnativa/doodba 
https://www.youtube.com/watch?v=E7KIMcxORrw (in Spanish) 


Avatar
Discard