akretion / docky

Docky - Helper for docker-compose mainly used in odoo context
GNU Affero General Public License v3.0
56 stars 31 forks source link

Refactor --root option #160

Open sebastienbeau opened 1 month ago

sebastienbeau commented 1 month ago

Since version 2 docker allow to connect as root using

docker-compose --user=root

Odoo image is root by default and it's switch with gosu so in that case the option --user=root is useless, but the images without gosu can be used with the option --user=root

So we need to make the docky run / exec compatible with this kind of image out-of-box