
Discover how Docker containerization isolates applications to guarantee identical libraries, frameworks, and operating systems across developer laptops, development servers, and production, solving version mismatches and ensuring consistent behavior.
Install Docker on CentOS by removing old versions, adding the Docker repository, and completing the installation; test the setup by starting the Docker service and pulling the image.
Install docker on macOS via Docker Desktop, download from the docker docs, replace an old version if needed, launch the app, and verify it runs from the terminal.
Install the PostgreSQL client package in a docker image by configuring the PostgreSQL apt repository and key, then installing and cleaning up to use the client in the build.
Learn to run an Odoo Docker image manually with addons mounted from a local folder, enabling custom addons to be detected and installed inside the container.
Learn to run a docker container with a custom odoo config by using an external config file in a mounted folder, edit it, and verify with logs.
Stop, start, and restart your odoo docker containers by using docker stop with container id or name, listing containers with docker ps -a, and applying config changes with docker restart.
Download the latest Odoo source code from the nightly site to build a custom docker image using the community edition. Extract the source and copy it into the image.
Copy the source code and audio folder into the Odoo docker image. Replace the audio installation steps with the audio package and ensure all content is included before building.
Copy the executable from the setup folder in the audio source code into the container's order folder, edit it, and set it to executable.
So, you have reached at a point to implement Odoo not in the default standard way.. Where your Odoo implementation has required many instances running in parallel and can't be handled with a single or two servers anymore.. And the decision is to utilize Docker, as it can be scaled and managed easily as the client request increased dramatically.
Then, this course is for you..
Docker will reduce the complexity of implementing a software system that requires many supporting subsystems, libraries, external program, where sometimes a small difference of minor version or setting can cause the whole system failed to work.
Docker will solve the ‘it works in my laptop’ problem we commonly face while working with developers.
I will teach you how to start creating your custom Odoo Docker Image, begins with running the official one that we got from Odoo, then tweak it to suit your needs and start generating your custom image. Direct to the point, not that much theory.
Then I will also teach you how to integrate your custom image to a Github repository (Gitlab works as well), so that every commit to the repository will automatically create a new image version..
Or, when you need to pull the repository on every docker container restart..
Or, when you need to clone the repository on every docker container restart..
I will teach you all of those practical things step by step, no need for any prior knowledge of Docker, just a little bit of Linux standard commands.
Please also check my other course on how to manage the docker containers in Kubernetes environment to achieve the autoscaling and zero downtime for our Odoo instances.
Hope you find this course useful for you daily jobs.
See you soon on the class!