'Odoo docker image: how to scaffold?

When you install the Odoo (version 10) docker image, how to reproduce this command:

odoo-bin scaffold openacademy addons


Solution 1:[1]

In Odoo 15 with Docker, you should run command:

docker exec -ti odoo odoo scaffold /mnt/extra-addons/custom_module

My repository to run Odoo 15 on docker-compose:

https://github.com/dylanops/docker-odoo

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 General Grievance