تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
15284 أدوات العرض

Hi all,

I'm installing odoo from docker image. But, when log in to odoo container, I can only work with user 'odoo', and this user doesn't have any privilege for changing anything in the container. And cannot use 'sudo' neither.

Do you know how to change to root user? 

Thank you

الصورة الرمزية
إهمال

Default Docket user Is it self root , there is no sudo.

docker exec -it --user root <conatiner_name> /bin/bash